Display MQ Queue (DSPMQMQ)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Queue (DSPMQMQ) command displays the attributes of an existing MQ queue definition.


Parameters

Keyword Description Choices Notes
QNAME Queue name Character value Required, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 3


Queue name (QNAME)

>

The name of the queue.

The possible values are:

    queue-name
    Specify the name of the queue.


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.


Message Queue Manager name (MQMNAME)

>

Specifies the name of the message queue manager.

The possible values are:


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i