Explanation: REPLACE is an optional parameter
specifying that the recovered backup version or a dump copy of the
uncataloged data set replaces any existing uncataloged data set with
the same data set name on the target volume. If the data set is cataloged,
DFSMShsm scratches it and recatalogs the data set with the same data
set name. If you specify the NEWNAME parameter and the new name is
the same as the name of an existing data set, you must specify the
REPLACE parameter. If you do not, DFSMShsm fails the RECOVER command.
Defaults: When DFSMShsm recovers a volume,
it always replaces data sets with the same name on the target volume.
Note: - If you do not specify the REPLACE or NEWNAME parameter for an
existing data set, DFSMShsm does not recover the data set. For cataloged
data sets, the old copy remains cataloged. For uncataloged data sets,
the data set by the same name remains on the target volume.
- The data set to be replaced must have the same organization as
the data set from which the backup version was created. If the backup
version is being recovered and both the backup version and the target
data set are cataloged, DFSMShsm fails the RECOVER request when the
data set organizations do not match.