> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Johnny Luo > Sent: Sunday, April 02, 2006 9:32 AM > To: [email protected] > Subject: How to save data sets dump(from dfdss) in pc? > > > Hi, > > I've dumped some of my data sets via dfdss.These data sets > include ordinary > PDS, > load module libraries and VSAM.It's a logical data set dump > and the output > is a > PS data set on dasd(recfm=u,lrecl=0,blksize=27998). > > Here is my dump JCL: > > //TAPE DD DSN=LUOXK.BACKUP,DISP=(NEW,CATLG,DELETE),UNIT=3390, > // VOL=SER=CUSM01,SPACE=(CYL,20) > //SYSPRINT DD SYSOUT=* > //SYSIN DD * > DUMP OUTDD(TAPE) SHARE - > DS(INCL(LUOXK.**) > /* > Now I want to save this dump to my pc so in the future I can > upload it to > another site and restore all my data sets. > > First I download it to pc(binary,via ind$file).Then I upload > it to another > z/os > with the same way(before upload,I allocate a ps file with > recfm=u,lrecl=0, > blksize=27998 on that site). > > But when I try to restore from this ps file,DFDSS just gives > me the message > that the input data sets is not made from DFDSS so the restore failed. > > Hope someone can help me with this. > -- > Best Regards, > Johnny Luo
I never use IND$FILE. The following only applies to using a TCP/IP connection. Start up an FTP session with the mainframe. Once you have entered your mainframe userid and password, enter the commands: bin quote stru r get LUOXK.BACKUP The "magic" is in the "quote stru r" command. This tell the IBM ftp server to specially code the file as it is being downloaded to include end-of-record indicators. You need to remember the file LRECL, BLKSIZE, and RECFM for when you want to upload. To upload back to the z/OS system, enter your userid and password, then use the commands: bin quote stru r quote site recfm=? lrecl=? blksize=? pri=? sec=? cylinders put LUOXK.BACKUP You'll need to replace the question marks in the "quote site" with the appropriate values for the RECFM, LRECL, BLKSIZE, primary and second space allocations. I have successfully done this. -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

