Examples of how to code the ALTERDS command

The following examples present different ways to code the ALTERDS command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Changing the number of elapsed days between backup versions

In this example, the number of elapsed days between creation of backup versions of the specified data set is changed to 3.
   ALTERDS PAC4485.INPUT.LOAD FREQUENCY(3)

Changing the maximum number of backup versions that are kept

In this example, the maximum number of backup versions kept for the specified data set is changed to twenty-one.
   ALTERDS JAB3364.REPORT.TEXT VERSIONS(21)

Specifying zero number of backup versions that are kept

In this example, you do not want DFSMShsm to keep any backup versions of the specified data set.
   ALTERDS RTJ2219.REPORT.TEXT VERSIONS(0)