Data sets that RECOVER uses

The RECOVER utility uses a number of data sets during its operation.

The following table lists the data sets that RECOVER uses. The table lists the DD name that is used to identify the data set, a description of the data set, and an indication of whether it is required. Include statements in your JCL for each required data set and any optional data sets that you want to use.

Table 1. Data sets that RECOVER uses
Data set Description Required?
SYSIN Input data set that contains the utility control statement. Yes
SYSPRINT Output data set for messages. Yes
auth-id.job-name.HSM A temporary data set that is automatically allocated by the utility and deleted when the utility completes Yes

The following objects are named in the utility control statement and do not require DD statements in the JCL:

Table space, index space, or index
Object that is to be recovered. If you want to recover less than an entire table space:
  • Use the DSNUM option to recover a partition or data set.
  • Use the PAGE option to recover a single page.
  • Use the ERROR RANGE option to recover a range of pages with I/O errors.
Image copy data set
Copy that RECOVER is to restore. Db2 accesses this information through the Db2 catalog.
System-level backups
The RECOVER utility chooses the most recent backup (a sequential image copy, a concurrent copy, a FlashCopy® image copy, or a system-level backup) to restore based on the recovery point for the table spaces or indexes (with the COPY YES attribute) being recovered.