Recovering a partition with DFSMSdss

To recover a partition from a DFSMShsm dump with DFSMSdss, use the LIST command to get the same information needed to recover a volume with DFSMSdss. See The DFSMShsm LIST command on how to use the LIST command. You also need the data set name for the data set that holds the partition you want recovered and the data set name for the partition that you want the dump recovered to.

The following JCL recovers LINUX.VLNX300.PART0001.NATIVE from dump DFHSM.DMP.DAILY.VLNX300.D01244.T072510 on dump tape A02001 to volume LNX200 and renames it LINUX.VLNX200.PART0001.NATIVE, replacing the data set of the same name on LNX200. If you are restoring the data set to its original volume, then you can omit the RENAME portion.

//LNXJOB JOB ,'IBMUSER',MSGLEVEL=(1,1),TIME=(5,0),REGION=0M,
//      MSGCLASS=A,CLASS=A
//STEPDSS  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SOURCE   DD UNIT=3480,VOL=SER=A02001,DISP=OLD,
              DSN=DFHSM.DMP.DAILY.VLNX300.D01244.T072510
//TARGET   DD UNIT=3390,VOL=SER=LNX200,DISP=OLD
//SYSIN    DD *
 RESTORE INDDNAME(SOURCE) OUTDDNAME(TARGET) -
         DATASET(INCLUDE(LINUX.VLNX300.PART0001.NATIVE)) -
         RENAME(LINUX.VLNX200.PART0001.NATIVE) REPLACE
/*