[UNIX, Linux, Windows, IBM i]

DISPLAY POLICY (display a security policy) on Multiplatforms

Use the MQSC command DISPLAY POLICY to display a security policy.

Using MQSC commands

For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.

DISPLAY POLICY

Read syntax diagramSkip visual syntax diagram DISPLAY POLICY ( policy-name )

Parameter descriptions for DISPLAY POLICY

(policy-name)
Specifies the policy name to be displayed.
The name of the policy to display is the same as the name of the queue that the policy controls. You can specify an asterisk to display all policy names.
Note: policy-name does not support wildcard characters to return multiple policies.

Display policy behavior with specific policy names

When executing a DISPLAY POLICY command for a specific policy, for example DISPLAY POLICY(QUEUE.1), a policy object is always returned even if one does not exist. When a policy object does not exist, the policy object returned is a default policy object that specifies plain text protection, that is, no signing or encryption of message data.

To view policy objects that exist, a DISPLAY POLICY(*) command must be run. This command returns all policy objects that exist.