[IBM i]

DSPMQMSPL (Display MQM Security Policies)

Where allowed to run
All environments (*ALL)
Threadsafe
Yes

The Display MQM Security Policies (DSPMQMSPL) command displays security policies, that are used by Advanced Message Security to control how messages should be protected when being put, browsed, or destructively removed from queues.

The policy name associates digital signing and encryption protection for messages with queues matching the policy name.

Parameters

Table 1. Command parameters
Keyword Description Choices Notes
OUTPUT Output *, *PRINT Optional, Positional 1
POLICY Policy name Character value Optional, Positional 2
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 3

Output (OUTPUT)

Specifies whether the output from the command is shown at the requesting workstation, or printed with the job's spooled output.

The possible values are:

*
Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT
The output is printed with the job's spooled output.

Policy name (POLICY)

Specifies the name of the security policy, the name of the policy matches the name of the queue that the policy applies to.

Message Queue Manager name (MQMNAME)

Specifies the name of the message queue manager.

The possible values are:

*DFT
Use the default queue manager.
queue-manager-name
Specify the name of the queue manager. The name can contain up to 48 characters. The maximum number of characters is reduced if the system is using a double byte character set (DBCS).