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

How to write data from ps to local hard drive(i.e D drive)


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
afroz alam

New User


Joined: 02 Jul 2007
Posts: 13
Location: India

PostPosted: Thu Jul 05, 2007 4:23 pm
Reply with quote

I have some records in PS(abc.qwe.ps). i want to copy it into my local hard drive.How can i do that?
Back to top
View user's profile Send private message
a027412

New User


Joined: 05 Jul 2007
Posts: 40
Location: Minneapolis, MN

PostPosted: Thu Jul 05, 2007 5:26 pm
Reply with quote

You can download them through FTP ans save them as TXT File.
if you need the FTP syntax, please let me know
Back to top
View user's profile Send private message
afroz alam

New User


Joined: 02 Jul 2007
Posts: 13
Location: India

PostPosted: Thu Jul 05, 2007 5:35 pm
Reply with quote

Hi a027412.....

I need through JCL...if possible plz write the code..it will be easy to understand


afroz
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 05, 2007 5:54 pm
Reply with quote

Hi afroz,

May I repharse your requirement as:
"I want to download a PS (QSAM dataset ) from Mainframes to local PC".
If yes then you can you can make use of option START/ 6 of ISPF
Here paste the DSN on command-line below the 'Enter TSO or Workstation commands below:'
Now from Transfer menu choose 'Recieve File From Host'.

One window will pop-up:
In Host File: give the DSN to download
In PC file :give PC-file name for that file,
Transfer Type: Text
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Jul 05, 2007 6:56 pm
Reply with quote

You can submit a JCL with a step executing the FTP program.

It is possible to FTP in batch !
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 05, 2007 7:43 pm
Reply with quote

Hello,

If the requirement is to download mainframe data to a desktop, you will probably not use mainframe ftp to "put" the file. Most desktop systems do not run an ftp host and without it the ftp program from the mainframe would have nowhere to send the file.

You can get the file from the mianframe easily using the ftp client on the desktop.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top