Fixing policy errors


Before you can activate a policy, you must check that the policy's definition is valid. Use the following procedure to correct any errors.

To fix policy errors

  1. 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.

  2. 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.

    Note

    The POLDEF view might not display all of the policy errors the first time that it is displayed. When you have corrected the listed policy errors, check the Validated value again to ensure that the policy is valid before moving to the next step. You might need to access the POLDEF view multiple times to view all of the policy errors.

  3. 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.
  4. 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.
  5. To confirm that you have corrected the policy errors, on POLDSPLY type VALIDATE on the COMMAND line.
  6. 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.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*