Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there any better way to download a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
salltm

New User


Joined: 21 Aug 2008
Posts: 8
Location: china

PostPosted: Fri Dec 05, 2008 8:19 am    Post subject: Is there any better way to download a PDS
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Dec 05, 2008 8:41 am    Post subject:
Reply with quote

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
View user's profile Send private message
salltm

New User


Joined: 21 Aug 2008
Posts: 8
Location: china

PostPosted: Fri Dec 05, 2008 9:04 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Dec 05, 2008 9:22 am    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Dec 05, 2008 5:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Dec 05, 2008 5:46 pm    Post subject: Reply to: Is there any better way to download a PDS
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 05, 2008 6:05 pm    Post subject:
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Fri Dec 05, 2008 6:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Dec 05, 2008 8:24 pm    Post subject: Reply to: Is there any better way to download a PDS
Reply with quote

Use PKZIP to zip the whole PDS into a single .zip archive file.
Back to top
View user's profile Send private message
salltm

New User


Joined: 21 Aug 2008
Posts: 8
Location: china

PostPosted: Sat Dec 06, 2008 8:50 am    Post subject:
Reply with quote

PKZIP ?
what is this .. JCL utility ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Sat Dec 06, 2008 8:54 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Dec 06, 2008 9:02 am    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Sat Dec 06, 2008 3:02 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to download JES2 JOB LOG? White.Bai JCL & VSAM 9 Thu Sep 29, 2016 7:34 am
No new posts IPSwitch download problem srajendran2 All Other Mainframe Topics 2 Fri May 27, 2016 12:02 am
No new posts Download a huge list of elements from... dheeraj.ramchandani CA Products 5 Tue Jan 05, 2016 12:16 am
No new posts Oracle Gateway software for Download ... nans1979 COBOL Programming 2 Wed Aug 20, 2014 12:09 am
No new posts FTP error with CA product download Madhaviy All Other Mainframe Topics 3 Thu Jan 12, 2012 5:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us