how to download pds from mainframes to unix os



IBM's Command List programming language & Restructured Extended Executor

how to download pds from mainframes to unix os

Postby supriya saraswat » Tue Sep 09, 2008 2:23 pm

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?
supriya saraswat
 
Posts: 21
Joined: Mon Jul 07, 2008 3:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to download pds from mainframes to unix os

Postby MrSpock » Tue Sep 09, 2008 6:09 pm

Did you use FTP to download the members? The MGET * sub-command should work to retrieve of the members as individual files.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: how to download pds from mainframes to unix os

Postby dick scherrer » Wed Sep 10, 2008 2:22 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how to download pds from mainframes to unix os

Postby supriya saraswat » Fri Sep 12, 2008 3:29 pm

but i need a rexx program for that.
supriya saraswat
 
Posts: 21
Joined: Mon Jul 07, 2008 3:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to download pds from mainframes to unix os

Postby MrSpock » Fri Sep 12, 2008 4:36 pm

OK. What do you want this program to do? Maybe if you can describe the process, you might be able to write the program.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: how to download pds from mainframes to unix os

Postby dick scherrer » Sat Sep 13, 2008 2:33 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post