View previous topic :: View next topic
|
Author |
Message |
csiva007
New User
Joined: 29 Sep 2005 Posts: 10
|
|
|
|
How to download the pds or ps from the mainframe host to local PC through JCL program using FTP? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
hi frnd,
The following are the steps to extract the mainframe PS/PDS in to ur local PC.
Step1: open the command prompt and go into the folder where u need the PDS to be loaded into ur PC.
Step2: ftp <mainframe server name>
Step3: It will ask for mainframe user name.. enter it
Step4: It will ask the password
Step5: type 'quote site trail'
Step6: get 'PDS name' filename.txt ENTER
Step7: bye (to close the connection) |
|
Back to top |
|
|
fixdoubts
New User
Joined: 21 Oct 2005 Posts: 54
|
|
|
|
//STEPFTP EXEC PGM=FTP,
//INPUT DD DSN=A DATA SET WITH THE FTP DETAILS.
// DISP=SHR
//OUTPUT DD SYSOUT=*
FTP DETAILS
---------------
X.X.X.X IP TO WHERE ITS TO BE FTP.
XXXXX USERID
XXXXX PASSWD
put 'INPUT FOR FTP' OUTPUT.TXT INPUT FILE IS UR DATASET AND OUTPUT WILL BE THE TXT FILE IN THE DETINATION SYSTEM
QUIT |
|
Back to top |
|
|
|