Determine whether to use backup or dump versions for data set recovery

The non-DFSMShsm-authorized user has little control over whether a restore or a recover is done. The user’s ability to cause a physical data set restore rests with the options set for the dump classes and the dump volumes. Unless the user who issues a RECOVER or HRECOVER command specifies the GENERATION, VERSION, or DATE parameter, DFSMShsm tries to recover the most recent dump copy or backup version available (based on time of day and date).

The following conditions must exist for a data set restore to be performed instead of a recover of an incremental backup version when a RECOVER or HRECOVER command is issued:
Note:
  1. DFSMShsm always uses the backup version of SMS-managed, multiple-volume data sets unless you specify that the data set is to be restored from a dump copy.
  2. See Restoring a data set from a DFSMShsm dump copy for a discussion of specifying data set restore from a dump copy.
  3. Only an authorized user can specify restore from a dump copy.

If any of the conditions are not met, the HRECOVER or RECOVER process continues by attempting to find a DFSMShsm backup version to recover. If no DFSMShsm backup version exists, the HRECOVER or RECOVER request fails.

To further identify the backup version or dump copy you want to recover, specify a date or a relative generation number for the backup version. When you identify a backup or dump version with a date, DFSMShsm recovers the last version DFSMShsm created on or before the date you specified. When you identify a backup version with a generation number, the number represents the number of backup versions created before the most recent one. A GENERATION(0) indicates the most recently created backup version. If DFSMShsm requires access to a level 0 volume, daily backup volume, or spill backup volume during recovery and that volume is not online, DFSMShsm dynamically allocates the volume. If the backup version is on more than one tape volume, DFSMShsm allocates each required volume and the operator mounts each required volume.