Comment on page
M9SAPIJE to edit a policy
Only the following policy types are eligible for the edit command:
- 1.Data set backup
- 2.Data set import
- 3.Data set archive
- 4.Full volume dump
All other policy types will be rejected for this command.
The edit command allows editing the following fields:
- 1.Retention period
- 2.Add by criteria
- 3.Policy filters
Specifying other fields will cause the operation to be rejected
For the "Data set backup" policy type, editing the retention will be rejected if the policy is defined with the "Use SMS policy" or if the policy is "Generation" based.
For the "Data set archive" policy type, editing the retention will be rejected unless the "Override Retention" option is checked.
Customize the following M9SAPI parameters:
Customize the SYSIN DD card with the input JSON with the edit information.
All the parameters must be specified in lowercase format
Each specified block will overwrite the existing policy settings however when a block is not specified it won't be changed.
For "data set is zfs" only filterType is required, specifying a pattern will cause the operation to be rejected
For "data set organization" only the filterType value "exclude" is supported
- Backup policy edit operation with retention of 10 days, three add-by patterns, and two filters (one exclusion and one include only).
- Backup policy edit operation with one add-by pattern excluding ZFS and all partitioned data sets.
- Backup policy edit operation which clears all the filters and leaves all other settings as is.