[IBM i]

DSPMQMLSR (Display MQ Listener)

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

The Display MQ Listener object (DSPMQMLSR) command displays the attributes of an existing MQ listener object.

Parameters

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

Listener name (LSRNAME)

The name of the listener object to display.

The possible values are:

listener-name
Specify the name of the listener definition. The maximum length of the string is 48 bytes.

Message Queue Manager name (MQMNAME)

Specifies the name of the queue manager.

The possible values are:

*DFT
Use the default queue manager.
queue-manager-name
The name of a message queue manager.

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.