Changing the backup conditions for a data set

SMS-managed storage controls the frequency of backup and the number of versions retained for each data set through the management class attributes. For non-SMS-managed storage, frequency and versions are a DFSMShsm host-wide specification. However, you can control the frequency and versions for individual data sets with the (H)ALTERDS command. You can control the frequency and the versions independently of each other. The forms for the command are:
   ALTERDS dsname ... FREQUENCY(days)
 
   ALTERDS dsname ... VERSIONS(limit)
 
   ALTERDS dsname ... FREQUENCY(days) VERSIONS(limit)
 
   HALTERDS dsname ... FREQUENCY(days)
 
   HALTERDS dsname ... VERSIONS(limit)
 
   HALTERDS dsname ... FREQUENCY(days) VERSIONS(limit)

  

Non-DFSMShsm-authorized and DFSMShsm-authorized users can use the HALTERDS form of the command. Only DFSMShsm-authorized users can use the ALTERDS form of the command.

The command causes the frequency or versions attributes for the data sets that are identified by dsname to be changed to the values that are specified by the command parameters. The new values are then used for all volume backup functions that are performed on those data sets until a new ALTERDS or HALTERDS command is issued for the data set.