Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to write data from ps to local hard drive(i.e D drive)
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    Post subject:
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    Post subject: How to write data from ps to local hard drive(i.e D drive)
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

Senior Member


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

PostPosted: Thu Jul 05, 2007 5:54 pm    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Thu Jul 05, 2007 6:56 pm    Post subject: Re: How to write data from ps to local hard drive(i.e D driv
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

Site Director


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

PostPosted: Thu Jul 05, 2007 7:43 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us