Recovering data from DFSMShsm dump with DFSMSdss

Before you recover a volume from a DFSMShsm dump with DFSMSdss, you must use the LIST command to see what dumps you have. SeeThe DFSMShsm LIST command on how to use the LIST command. Once you find the dump you want to use, you can write and submit JCL to have DFSMSdss recover the volume.

The following JCL recovers dump data set DFHSM.DMP.MONTHLY.VLNX300.D01245.T234610 to volume LNX300. If there is more than one dump stacked on the tape, you must specify the file sequence number of the label keyword. You can get the file sequence number from the information provided by the LIST command in the next topic.

//LNXJOB JOB ,USER=IBMUSER,PASSWORD=IBM,MSGLEVEL=(1,1),TIME=(5,0),REGION=4096K,
//      MSGCLASS=A,CLASS=A
//STEPDSS  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SOURCE   DD UNIT=3480,VOL=SER=(A02005,A02008,A02010),DISP=OLD,
              LABEL=(2),DSN=DFHSM,DMP.MONTHLY.VLNX300.D01245.T234610
//TARGET   DD UNIT=3390,VOL=SER=LNX300,DISP=OLD
//SYSIN    DD *
 RESTORE INDDNAME(SOURCE) OUTDDNAME(TARGET) PURGE
/*

To recover a partition from a DFSMShsm dump with DFSMSdss, use the LIST command like before to find the dump tape and dump data set from which you want to recover your partition. You also need the data set name of your partition. See Data set and partition naming conventions for the partition and data set naming conventions.

The following JCL recovers data set LINUX.VLNX300.PART0001.NATIVE from dump data set DFHSM.DMP.MONTHLY.VLNX300.D01245.T234610 to volume LNX300.

//LNXJOB JOB ,USER=IBMUSER,PASSWORD=IBM,MSGLEVEL=(1,1),TIME=(5,0),REGION=4096K,
//      MSGCLASS=A,CLASS=A
//STEPDSS  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SOURCE   DD UNIT=3480,VOL=SER=(A02005,A02008,A02010),DISP=OLD,
              LABEL=(2),DSN=DFHSM,DMP.MONTHLY.VLNX300.D01245.T234610
//TARGET   DD UNIT=3390,VOL=SER=LNX300,DISP=OLD
//SYSIN    DD *
 RESTORE INDDNAME(SOURCE) OUTDDNAME(TARGET) -
         DATASET(INCLUDE(LINUX.VLNX300.PART0001.NATIVE)) REPLACE
/*