Page 1 of 1

how to download pds from mainframes to unix os

PostPosted: Tue Sep 09, 2008 2:23 pm
by supriya saraswat
I need to download an entire PDS from the mainframe to my PC (or unix system). I want the members of the PDS to be individual files on the target file system. The download utility currently at the client site, downloads the entire PDS as one single file. This is proving to be a show stopper for us.

Yes, we can download individual members but, we have about 9000 of them.

Can someone please share the code (ReXX, JCL, etc) to help us out on this?

Re: how to download pds from mainframes to unix os

PostPosted: Tue Sep 09, 2008 6:09 pm
by MrSpock
Did you use FTP to download the members? The MGET * sub-command should work to retrieve of the members as individual files.

Re: how to download pds from mainframes to unix os

PostPosted: Wed Sep 10, 2008 2:22 am
by dick scherrer
Hello,

If you have a windows-based ftp client (most desktop systems do), you can specify the pds as the mainframe directory, highlight all of the members, and transfer all of them with one click.

Re: how to download pds from mainframes to unix os

PostPosted: Fri Sep 12, 2008 3:29 pm
by supriya saraswat
but i need a rexx program for that.

Re: how to download pds from mainframes to unix os

PostPosted: Fri Sep 12, 2008 4:36 pm
by MrSpock
OK. What do you want this program to do? Maybe if you can describe the process, you might be able to write the program.

Re: how to download pds from mainframes to unix os

PostPosted: Sat Sep 13, 2008 2:33 am
by dick scherrer
Hello,

but i need a rexx program for that.
How was that requirement determined?

What can justify writing an application to do what is already available on your system?

Keep in mind that if you write something in mainframe rexx, you will set the code to "push" the data from the mainframe to the pc. One obstacle to sending the data to your pc is that the pc would require an "ftp server" (rather than just a client) and most organizations do not permit desktop systems to run an ftp server. Many unix servers run an ftp service, so this may not be an issue.