RECOVER
Use the RECOVER statement to recover deleted members of a PDS data set.
Syntax
Parameters
- OUTDD=DDname
- Specifies the DDname of the target PDS data set.
- OUTDSN={DSname|(DSname,SHR)|(DSname,OLD)}
- Specifies the DSname of the cataloged target PDS data set. {SHR|OLD} specifies the disposition
of the dynamically allocated data set. When this parameter is omitted, the default from the
"OUTDISP=" EXEC PARM field applies. When both are omitted
SHR
is used. - NUMBER={nnnnn|ALL}
- Specifies the number of deleted members to be recovered. The nnnnn value is specified as
a decimal number between 0 and 99999 or the word ALL. A 0 is treated as an omitted parameter. ALL
applies to all deleted members. When this parameter is omitted, the default from the
NUMBER=
EXEC PARM field applies. When both are omitted, one deleted member is recovered. - LIST={YES|NO}
- Specifies whether the names of the recovered members are to be listed in the SYSPRINT data set. When this parameter is omitted, the default from the EXEC PARM field applies.
- LIST=ALL
- Same as LIST=YES with additional member pre-filtering related messages.
- LIST=ONLY
- Same as LIST=YES.
Usage notes
- Either OUTDD or OUTDSN keywords must be specified, but together they are mutually exclusive.
- Previously deleted members cannot be recovered after a COMPRESS operation.
- The recovery process is performed by order of most recently saved (and deleted) members.
- Each recovered member gets an 8 character name of the format <9Ztttttt; where tttttt is a 6 digit (hexadecimal) location address (i.e., TTR) of the first data block of the member.
- Recovered members can be subsequently manipulated like any other members in the PDS data set.