View previous topic :: View next topic
|
Author |
Message |
afroz alam
New User
Joined: 02 Jul 2007 Posts: 13 Location: India
|
|
|
|
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 |
|
|
a027412
New User
Joined: 05 Jul 2007 Posts: 40 Location: Minneapolis, MN
|
|
|
|
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 |
|
|
afroz alam
New User
Joined: 02 Jul 2007 Posts: 13 Location: India
|
|
|
|
Hi a027412.....
I need through JCL...if possible plz write the code..it will be easy to understand
afroz |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
You can submit a JCL with a step executing the FTP program.
It is possible to FTP in batch ! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|