Preventing recovery and restore processing when using the HOLD RECOVER command

You can use the HOLD RECOVER command to prevent all recovery, to restore processing, or to prevent recovery alone from tape.

The following command prevents recovery processing from tape without preventing recovery processing from DASD:
HOLD RECOVER(TAPEDATASET)
Note: Holding tape recovery has the effect of holding all restores, because all dump copies managed by DFSMShsm are on tape. Holding tape recovery does not hold the data set recovery from a mounted backup tape already in use.
The following command prevents both tape and DASD recovery processing:
HOLD RECOVER

The holding action begins when an MWE is selected for processing, not when the HOLD command is entered. If you enter a wait-type recovery or restore request and the recovery function is held, DFSMShsm fails the wait-type recovery request because the hold recovery function gives no indication of when the recovery function will be available.

When a non-wait-type recovery or restore request is issued and the appropriate recovery or restore function is held, the request remains on the queue and is processed when the appropriate recovery function is released. The held recovery or restore function can be released with the RELEASE command.