Querying policy rules

A CICS® policy is an XML definition that describes the controls or actions that can be applied to one or more applications that are deployed on a platform. Policies can be applied to applications, platforms, region types, and operations. You can query policy rules to determine the set of policy rules that apply within a scope.

About this task

This task describes querying policy rules for an application. The steps of the task are the same when querying policy rules for a platform, region type, or operation. RACF® security checking does not apply to query policy operations.

Procedure

  1. In the Cloud Explorer view right-click the application that you want to query.
  2. Click Search.
  3. Click Policy rules for application.

Results

The results of the query are displayed in the Search view. You can see the rules within the scope of the query, and from the rules you can determine the name of the policy from which each rule is deployed. The policy information contains the policy names and policy rules. Because multiple policy scopes can apply at run time, the query might return more rules than you expect. For more information about policy scopes, see Policy scopes.

What to do next

If you want to edit the policy rules, note the policy name, navigate to the xxx.policy file in the Project Explorer view, and edit it by using the XML editor as described in Adding rules to a policy in a CICS Bundle project.