To back up all the data sets on a volume, use the command:
BACKVOL VOLUMES(volser,...,volser) TOTAL
The processing for backing up all the data sets on a volume by
command is the same as that explained in
Phase 4: Backing up SMS-managed volumes from storage groups with the automatic backup attribute except:
- DFSMShsm does not retrieve a list of volumes to be backed up.
- DFSMShsm checks only the ADMIN OR USER COMMAND BACKUP attribute
from the management class for each data set. The SMS-managed data
set is eligible to be backed up unless the ADMIN or USER = NONE. All
other values for this attribute and all other attributes in the management
class are ignored.
- Non-SMS-managed data sets excluded by the ALTERDS or HALTERDS
VERSIONS(0) command are not backed up.
- If you specify the BACKUPDEVICECATEGORY parameter of the BACKVOL
command, the data sets are backed up to the device type you specify.
When the BACKVOL VOLUME command is issued for an SMS-managed volume,
that volume is considered to be DFSMShsm-managed. DFSMShsm will maintain
control records for the volume until the DELVOL command is issued
against it.