View previous topic :: View next topic
|
Author |
Message |
salltm
New User
Joined: 21 Aug 2008 Posts: 8 Location: china
|
|
|
|
hi .everyone.
i have coded a lot cobol Prog in a pds:' USER.COBOL.SRC(*)'
when i want to backup a copy in my PC.. i have to select all the member to download ..
is there any better way to download a PDS.
can i use some JCL utility to convert a PDS to a SDS ,then it can be download easily..(and the jcl to convert SDS to PDS)
thanks.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
You could FTP the PDS to a directory on your PC using MGET.
You could use XMITIP or similar tool to send the PDS as a binary file to your PC but the members won't be usable.
You could use IEBCOPY to unload the PDS to a sequential file and transfer that to your PC, but again the members won't be usable. |
|
Back to top |
|
|
salltm
New User
Joined: 21 Aug 2008 Posts: 8 Location: china
|
|
|
|
When i use the IEBCOPY ,is there some way to recover the sequential file (which i used to download ) to PDS..
thank your for your reply |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you intend to move the code back and forth between platforms, i would recommend you do as suggested and download the entire pds to some directory on your pc/server.
This need not be the tedious task you mention. It can be done with a single command or one click of your desktop ftp product.
To use the iebcopy file, you would need to transfer the entire file back to the mainframe and restore from there.
I routinely download entire pds's and am able to selectively copy back to the mainframe or anywhere else with very little effort. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
AFAIK, there is no PC tool to recreate a PDS from an IEBCOPY unloaded sequential file. This file can be reloaded into a PDS using IEBCOPY on a mainframe, but I think you're out of luck if you want the members available on a PC. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
AFAIK, there is no PC tool to recreate a PDS from an IEBCOPY unloaded sequential file. |
Yep, Even i think the same but
- You can code a REXX exec to to read the unloaded sequential file and write it into different PDS members. Make sure you have some delimiter in your unloaded sequential file to denote the end of data for a member. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
IEBPTPCH produces a file that can be downloaded as a .txt file, allowing you to upload only sections if you want to, but don't forget to get rid of the CC byte in cc1 |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi salltm !
What is the real need of doing this. I assume, you leaving a company and
you start a new job at an other company. That's allways my intension, when i'm doing that. Fastest way is to use ADRDSSU utillity to dump all
my user-libs to a magnetic tape or cassette and take that with me to the next company and restore it there.
Precondition: Having access to operating.
Nice Weekend ! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Use PKZIP to zip the whole PDS into a single .zip archive file. |
|
Back to top |
|
|
salltm
New User
Joined: 21 Aug 2008 Posts: 8 Location: china
|
|
|
|
PKZIP ?
what is this .. JCL utility ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
PKZIP is a program that must be paid for on the mainframe; it allows creation on the mainframe of ZIP archive files that can be moved to a PC and then the files in the archive can be extracted. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you ZIP the entire pds on the mainframe (rather than the individual members as separate files), you will probably not be able to use the file once unzipped on the windows system.
Creating the files of the individual members on the mainframe so they can be zipped is just a waste of time. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I usually use the TRANSMIT commnad in batch to UNLOAD the PDS to a sequential file, then IND$FILE GET to send it to my PC and burn it to a CD.
When required back onto the mainframe, I use IND$FILE PUT to a sequential file and then use the RECEIVE command to restore the partitioned data set to its original format.
Gerry |
|
Back to top |
|
|
|