DISPLAY POLICY
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.
IBM® i | UNIX and Linux® | Windows | z/OS® |
---|---|---|---|
Parameter descriptions for DISPLAY POLICY
- (policy-name)
- Specifies the policy name, or names, to be displayed. The name of the policy, or policies (or part of the policy name or names) to display are the same as the name of the queue, or queues, that the policies control. 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.