DFSMShsm recovers specific data sets to non-SMS-managed volumes
under the following conditions:
- When the FORCENONSMS parameter is specified on the RECOVER command
- When SMS is not active and the backup version or dump copy being
recovered was made from a non-SMS-managed data set
- When SMS is active and ACS does not assign a storage class to
the data set (indicating that the data set is not currently SMS-managed)
- When the FROMVOLUME parameter is specified on the RECOVER command
- When the catalog indicates that the data set is not SMS-managed
You can issue the following additional commands to recover a non-SMS-managed
data set:
- RECOVER dsname FROMVOLUME(volser)
This command recovers an uncataloged data set to the
volume from which it was backed up.
- RECOVER dsname FROMVOLUME(volser) REPLACE
This command recovers an uncataloged data
set to the volume from which it was backed up, and any existing data
set of the same name on the volume is replaced.
- RECOVER dsname TOVOLUME(volser) - UNIT(unittype)
This command
recovers a data set to the volume specified.
- RECOVER dsname TOVOLUME(volser) - UNIT(unittype) FORCENONSMS
This
command recovers what may have been an SMS-managed data set to the
specified non-SMS-managed volume.
- HRECOVER dsname TOVOLUME(volser) - UNIT(unittype)
This is the
unauthorized-user form of the command. It recovers a data set to the
volume specified.
- RECOVER dsname NEWNAME(newdsname) - TOVOLUME(volser) UNIT(unittype)
This command recovers a data set
to the volume specified and gives the data set a new name.
- RECOVER dsname NEWNAME(newdsname) - TOVOLUME(volser) UNIT(unittype) - FORCENONSMS
This command recovers
what may have been an SMS-managed data set to the specified non-SMS-managed
volume and gives the data set a new name.
- HRECOVER dsname NEWNAME(newdsname) - TOVOLUME(volser) UNIT(unittype)
This command is the unauthorized
user form of the command. The data set is recovered to the volume
specified and is given a new name.
- RECOVER dsname REPLACE
This command
recovers a cataloged data set to the volume where the data set currently
resides and replaces the existing data set with the recovered data
set.
- RECOVER dsname REPLACE FORCENONSMS
This
command recovers a cataloged data set that was backed up as an SMS-managed
data set to the non-SMS-managed volume where the existing data set
currently resides. The existing data set is replaced with the recovered
data set.
- RECOVER dsname REPLACE TOVOLUME(volser) - UNIT(unittype)
This command recovers a data set to the specified volume and replaces
any existing data set with the same name on the specified volume.
- RECOVER dsname REPLACE TOVOLUME(volser) - UNIT(unittype)
FORCENONSMS
This command recovers a data set that was backed up
as an SMS-managed data set to the specified non-SMS-managed volume.
Any existing data set with the same name on the specified volume is
replaced.
- HRECOVER dsname REPLACE TOVOLUME(volser) - UNIT(unittype)
This is the unauthorized-user form of the command. It recovers a data
set to a specified volume and replaces any existing data set with
the same name on the specified volume.
- RECOVER dsname FROMVOLUME(volser) - NEWNAME(newdsname)
This
command recovers an uncataloged data set to the volume from which
it was backed up and gives the recovered data set a new name.
- RECOVER dsname FROMVOLUME(volser) - REPLACE TOVOLUME(volser)
UNIT(unittype)
This command recovers an
uncataloged data set to the volume specified. The data set with the
same name on the specified volume is replaced.
- RECOVER dsname NEWNAME(newdsname) - REPLACE TOVOLUME(volser) UNIT(unittype)
This command recovers a data set
to the specified volume. The data set is given a new name, and any
existing data set on the specified volume that has the same name as
the new name is replaced.
- RECOVER dsname NEWNAME(newdsname) - REPLACE TOVOLUME(volser) -
UNIT(unittype) FORCENONSMS
This recovers
a data set that was backed up as an SMS-managed data set to the specified
non-SMS-managed volume. The data set is given a new name, and any
existing data set on the specified volume that has the same name as
the new name is replaced.
- HRECOVER dsname NEWNAME(newdsname) - REPLACE TOVOLUME(volser) UNIT(unittype)
This is the unauthorized-user form
of the command. It recovers a data set to the specified volume. The
data set is given a new name, and replaces any existing data set on
the specified volume that has the same name as the new name.
- RECOVER dsname FROMVOLUME(volser) - NEWNAME(newdsname) TOVOLUME(volser) - UNIT(unittype)
This recovers an uncataloged data set to a specified volume and gives
it a new name.
- RECOVER dsname FROMVOLUME(volser) - NEWNAME(newdsname) TOVOLUME(volser) - UNIT(unittype)
REPLACE
This recovers an uncataloged data set to a specified volume.
The data set is given a new name, and any existing data set that has
the same name as the new name on the specified volume is replaced.
The processing for recovering non-SMS-managed data sets is the
same as for SMS-managed data sets with the following exceptions:
- When FROMVOLUME is specified, it implies that the data set is
not SMS-managed.
- Selection of the target volume is somewhat different:
- If TOVOLUME is specified, the target volume is the volume specified
by TOVOLUME.
- If TOVOLUME is not specified and FROMVOLUME is specified, the
target volume is the volume specified by FROMVOLUME.
- If neither TOVOLUME nor FROMVOLUME is specified, the target volume
is the volume on which the data set is cataloged, unless DFSMShsm
backed up the data set from a migration volume. If DFSMShsm backed
up the data set from a migration volume, DFSMShsm recovers the data
set to the volume from which the data set migrated.
- If DUMPVOLUME is specified, the target volume is the source volume
from which the dump was made.
- If the specified NEWNAME data set is not currently cataloged,
if the device type and volume serial number of the volume from which
the incremental backup version was made differ from the device type
and volume serial number of the volume on which the original data
set is currently cataloged, and if the volume on which the original
data set is currently cataloged has a more recent physical dump copy,
the target volume is the volume on which the original non-VSAM data
set is currently cataloged.
- If none of the preceding can be applied, the target volume is
the volume from which the eligible backup version was made.
To request that DFSMShsm recover backup versions of data sets that
were uncataloged when DFSMShsm backed them up, specify the FROMVOLUME
parameter of the RECOVER command. If you do not specify FROMVOLUME,
DFSMShsm recovers a backup version of a cataloged data set with the
same name even though the data set may no longer be cataloged.
When a generation data set is recovered, it is recovered as an
ordinary non-GDS data set.
Note: - DFSMShsm fails the recovery of a non-SMS generation data set that
is not currently cataloged, and whose corresponding generation data
group is no longer defined.
- DFSMShsm fails the recovery of a non-SMS generation data set that
is not currently cataloged, and whose corresponding generation data
group is not found through generic catalog locate.
To request that an SMS-managed data set be recovered to a non-SMS-managed
volume, specify the FORCENONSMS and TOVOLUME parameters.