Discussion Locked

How to FTP a partitioned dataset

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to use FTP to download a PDS from the mainframe to a CD and upload from the CD to the mainframe? I can do this a member at a time by using the mget command but this takes forever. I'm looking for an easier way.

3 replies

by lrund

To download and upload multiple PDS memebers from or to the mainfram I use the FTP software from Hummingbird. http://www.hummingbird.com The host explorer software comes with two FTP programs. One is called FTP for windows explorer. And the other is just FTP. Both will work depending on your security configuration. To use the software simply establish a connection to the mainframe, change your directory to the PDS file. Then click on the first member and while holding down the shift key click on the last member. Then drag the entire kitten kabotal to your C: or CD rom drive. The software will open multiple instances of data connections for each member. To put the data back to the mainframe simply select the PDS dataset and then select all the members and drag them back to the mainframe.
If you want to download an entire PDS intact with the directory information, you should then use IEBCOPY or TRSMAIN to creat a flat file copy of the PDS then binary transfer the data to the CD rom. Once on the CD rom to transfer back simply binary transfer to the appropriate dataset on the mainframe and use IEBCOPY or TRSMAIN again to recreate the PDS.

This discussion is closed to new replies.