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: 6248
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: 19243
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Identify and write records containing... SYNCSORT 11
No new posts Alternate key data extracttion COBOL Programming 13
Search our Forums:


Back to Top