Fixing policy errors
To fix policy errors
On the Policy Administration UI (POLICIES view), check the value in the Validated column.Possible values are:
Policy status
Description
Yes
The policy is valid.
Warning
The policy has some errors, but they will not prevent you from activating the policy.
For example, the policy definition might include an LPAR or group that does not exist on any managed CPC, or the MSU limit might exceed the defined CPCMSU limit. Because the related conditions on the CPC might change in the future (making the policy valid then), the policy can be activated.
Error
The policy has errors and cannot be activated. You can fix the errors via the POLDSPLY view.
No
The policy is not valid, cannot be activated, and cannot be fixed via the POLDSPLY view.
Because you created the policy by using XML in ISPF, you must fix the errors in XML.
If the Validated value is Warning, Error, or No, hyperlink on the Validated column to see error messages in the POLDEF view that explain why the definition is invalid.
- Return to the POLICIES view and update the policy:
- In windows mode, type UPD in the CMD column next to the invalid policy's name.
- In MainView Explorer, right-click the policy and select Line action > Update a policy.
- On POLDSPLY, make changes to the policy definition to solve the issues that were highlighted in the error messages in the POLDEF view.For more information about updating a policy definition, see Updating-the-entities-in-a-policy.
- To confirm that you have corrected the policy errors, on POLDSPLY type VALIDATE on the COMMAND line.
Save the policy and return to the Policy Administration UI:
- In windows mode, type SAVE on the COMMAND line.
- In MainView Explorer, click the save icon.
Now that the policy is valid, activate it as instructed in Activating-a-policy.