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 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 XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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