IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to download a PS/PDS to PC using FTP


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
csiva007

New User


Joined: 29 Sep 2005
Posts: 10

PostPosted: Wed Nov 23, 2005 11:21 am
Reply with quote

How to download the pds or ps from the mainframe host to local PC through JCL program using FTP?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Nov 23, 2005 12:35 pm
Reply with quote

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
View user's profile Send private message
fixdoubts

New User


Joined: 21 Oct 2005
Posts: 54

PostPosted: Wed Nov 23, 2005 12:44 pm
Reply with quote

//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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Unable to download the JDBC driver to... Java & MQSeries 1
No new posts Need to download ETT details from TWS... IBM Tools 4
No new posts How to download JES2 JOB LOG? JCL & VSAM 9
No new posts IPSwitch download problem All Other Mainframe Topics 2
No new posts Download a huge list of elements from... CA Products 5
Search our Forums:

Back to Top