IBM TSM - How to update the retain and version parameters in a copygroup

 

Update copygroup

To change the retain only parameter to 120 days type the following.

upd copy domain_name policy_set_name management_class_name standard reto=120

For example.

upd copy batch_ora_std standard batch_ora_mgmt standard reto=120

 

Validate the policyset

Then validate the policyset as follows.

validate policy domain_name policy_set

For example.

validate policy batch_ora_std standard

You may get output similar to the following.

ANR1554W DEFAULT Management class BATCH_ORA_MGMT in policy set BATCH_ORA_STD STANDARD
does not have an ARCHIVE copygroup:
files will not be archived by default if this set is activated.
ANR1515I Policy set STANDARD validated in domain BATCH_ORA_STD (ready for activation).

This is ok as an archive copy group is not required in this case.

 

Activate the policyset

Finally activate the policyset as follows.

activate policy domain_name policy_set

For example.

activate policy batch_ora_std standard

You may get output similar to the following.

ANR1554W DEFAULT Management class BATCH_ORA_MGMT in policy set BATCH_ORA_STD STANDARD 
does not have an ARCHIVE copygroup:  files will not be archived by default if this set is activated.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1554W DEFAULT Management class BATCH_ORA_MGMT in policy set BATCH_ORA_STD STANDARD 
does not have an ARCHIVE copygroup:  files will not be archived by default if this set is activated.
ANR1514I Policy set STANDARD activated in policy domain BATCH_ORA_STD.