MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP set of PS files to PC

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kanitha-mvs
Beginner


Joined: 17 May 2006
Posts: 26
Topics: 17

PostPosted: Wed Apr 23, 2008 7:59 pm    Post subject: FTP set of PS files to PC Reply with quote

Hi,

I want to transfer some 250 sequential files from mainframe to PC(windows OS).

I am looking for the batchutility FTP to transfer these files as a bulk. But I have few queries in the parameters used for this FTP utility.

The parameter list required for FTP utility would be

Host name
Port
User id
Password.

Does this refer to the Mainframe user id and password?

If i try with the mainframe user id and password and if i specify the path of the as "C:\abc"(Path to store the file in PC), It is showing the error message as "Specified folder not found".

Can someone explain the parameter usage for FTP utility?

Thanks.
Back to top
View user's profile Send private message
ash_sudp
Beginner


Joined: 17 May 2006
Posts: 12
Topics: 0

PostPosted: Tue May 13, 2008 10:09 pm    Post subject: Reply with quote

//PS090 EXEC PGM=FTP,REGION=0M,
// PARM='XXX.XXX.X.XXX (EXIT TIMEOUT 1440'
//NETRC DD DSN=your.datalib,
// DISP=SHR
//INPUT DD DSN=Your.FTP.PARM,
// DISP=SHR
//OUTPUT DD SYSOUT=&SYSOUT
//SYSPRINT DD SYSOUT=&SYSOUT
//SYSMDUMP DD SYSOUT=&SYSOUT

Your datalib content:
********************************* Top of Data **********
MACHINE XXX.XXX.X.XXX LOGIN XXXXXX PASSWORD XXXXX
******************************** Bottom of Data ********

Machine IP = destination IP
Login and passwd = destination userid and passwd

Your FTP parm content:
********************************* Top of Data *********
ASCII
PUT 'File.you.want.to.transfer' Destination_file_name
DIR
QUIT
******************************** Bottom of Data *******
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group