Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to download a PS/PDS to PC using FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to download a PS/PDS to PC using FTP
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: 680
Location: NJ

PostPosted: Wed Nov 23, 2005 12:35 pm    Post subject: PDS or PS to ur PC
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    Post subject: Re: FTP jcl program
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to download JES2 JOB LOG? White.Bai JCL & VSAM 9 Thu Sep 29, 2016 7:34 am
No new posts IPSwitch download problem srajendran2 All Other Mainframe Topics 2 Fri May 27, 2016 12:02 am
No new posts Download a huge list of elements from... dheeraj.ramchandani CA Products 5 Tue Jan 05, 2016 12:16 am
No new posts Oracle Gateway software for Download ... nans1979 COBOL Programming 2 Wed Aug 20, 2014 12:09 am
No new posts FTP error with CA product download Madhaviy All Other Mainframe Topics 3 Thu Jan 12, 2012 5:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us