To back up all the data sets in a storage group, use the command:
BACKVOL STORAGEGROUP(sgn,...,sgn) TOTAL
The processing for backing up all the data sets in a storage group
by command is the same as is explained in
Phase 4: Backing up SMS-managed volumes from storage groups with the automatic backup attribute, except
for the following difference:
- DFSMShsm checks the AUTO BACKUP attribute from the management
class for each data set. The SMS-managed data set is eligible to be
backed up if AUTO BACKUP=YES. All other values for the command backup
attribute and all other attributes in the management class are ignored.
- 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 STORAGEGROUP command is issued, the volumes processed
are considered to be SMS-managed.