The LIST command can be used to list several types of information about a DFSMShsm environment. For Linux volumes, we need to list only information for dump tapes. To create a list of dump tapes, use the following command.
LIST DUMPVOLUME OUTPUTDATASET(LIST.DUMP.VOLUMES)
The above command creates data set LIST.DUMP.VOLUMES. You can give the data set your own data set name. You can then browse the data set and search it for the information you need. The list is sorted by the volser of the dump tapes. A sample list is below.
-- DFSMSHSM CONTROL DATASET -DUMP VOLUME-BCDS-- LISTING --- AT 11:42:59 ON 06/02/21 FOR SYSTEM=3090
DUMP VOL UNIT FILE SOURCE DUMPED DUMPED PCT HW ENC C SET OF DUMP
VOLSER STATUS TYPE SEQ VOLSER SMS CLASS DATE TIME EXP DATE IDRC LIBRARY FULL P VOLSERS
A00167 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* 100 Y RSA Y
01 LNX200 Y 2006/02/21 11:41:35 A00167 A00169
A00170 A00171
A00168 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* *** Y RSA Y
01 LNX400 Y 2006/02/21 11:41:35 A00168
A00169 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* 100 Y RSA Y
** LNX200 Y 2006/02/21 11:41:35 A00167 A00169
A00170 A00171
A00170 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* 100 Y RSA Y
** LNX200 Y 2006/02/21 11:41:35 A00167 A00169
A00170 A00171
A00171 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* 02 Y RSA Y
** LNX200 Y 2006/02/21 11:41:35 A00167 A00169
A00170 A00171
02 LNX300 Y 2006/02/21 11:41:35 A00171
----- END OF - DUMP VOLUME - LISTING -----
Once you find the dump tape made on the date and of the same dump class as the volume you want to recover from, you must submit another LIST command to list the dump data sets on that dump tape.
LIST DUMPVOLUME(A00171) ODS(LIST.DUMP.A00171)
The above command creates the following list of the dump information about dump tape A00171.
-- DFSMSHSM CONTROL DATASET -DUMP VOLUME-BCDS-- LISTING --- AT 11:48:27 ON 06/02/21 FOR SYSTEM=3090
DUMP VOL UNIT FILE SOURCE DUMPED DUMPED PCT HW ENC C SET OF DUMP
VOLSER STATUS TYPE SEQ VOLSER SMS CLASS DATE TIME EXP DATE IDRC LIBRARY FULL P VOLSERS
A00171 UNEXP 3490 DAILY 2006/03/23 Y *NO LIB* 02 Y RSA Y
** LNX200 Y 2006/02/21 11:41:35 A00167 A00169
A00170 A00171
ENCTYPE RSAKEY/KPWD
ENCTDES CCA.CRT08.INT.ENC.1024S0F.KMAN
DUMP COPY DATA SET NAME = DFHSM.DMP.DAILY.VLNX200.D06052.T354111
02 LNX300 Y 2006/02/21 11:41:35 A00171
ENCTYPE RSAKEY/KPWD
ENCTDES CCA.CRT08.INT.ENC.1024S0F.KMAN
DUMP COPY DATA SET NAME = DFHSM.DMP.DAILY.VLNX300.D06052.T354111
----- END OF - DUMP VOLUME - LISTING -----
From the sample listing above, you can see that dump tape A00171 contains two dump data sets, the last part of the dump data set for volume LNX200 and one of volume LNX300. The name for the dump data set of volume LNX200 is DFHSM.DMP.DAILY.VLNX200.D06052.T354111, which starts on dump tape A00167 and spans onto dump tapes A00169, A00170 and A00171. The name for the dump data set of volume LNX300 is DFHSM.DMP.DAILY.VLNX300.D06052.T354111, and the file sequence number is 2. You need only the volser of the first dump tape when using the RECOVER command to recover this dump.