z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 3: logical data set dump, followed by a restore to an unlike device

z/OS DFSMSdss Storage Administration
SC23-6868-01

//JOB1      JOB  accounting information,REGION=nnnnK
//STEP1     EXEC PGM=ADRDSSU
//TAPE      DD   UNIT=3480,VOL=TAPE01,
//  LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=USER2.BACKUP
//SYSPRINT  DD   SYSOUT=A
//SYSIN     DD   *
 DUMP DATASET(INCL(USER2.OLDDS))  -
      OUTDD(TAPE)
/*


//JOB2      JOB  accounting information,REGION=nnnnK
//STEP1     EXEC PGM=ADRDSSU
//SYSPRINT  DD   SYSOUT=A
//TAPE      DD   UNIT=3480,VOL=TAPE01,
//  LABEL=(1,SL),DISP=(OLD,KEEP),DSNAME=USER2.BACKUP
//DASD      DD   UNIT=3380,VOL=(PRIVATE,SER=222222),DISP=OLD
//SYSIN     DD   *
 RESTORE DATASET(   -
   INCLUDE(USER2.OLDDS) )  -
   INDDNAME(TAPE)  -
   OUTDDNAME(DASD)  -
   RENAME(*.OLDDS,*.NEWDS)
/*

In the first part of example 3, DFSMSdss dumps a cataloged data set (USER2.OLDDS) from the source volume to an IBM® standard label dump tape (TAPE01). Next, DFSMSdss restores USER2.OLDDS from TAPE01 to a 3380 target volume (DASD volume 222222). The RENAME keyword is used to change the name of the data set to USER2.NEWDS.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014