Display MQ Topic (DSPMQMTOP)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Topic (DSPMQMTOP) command displays the attributes of an existing MQ topic object.


Parameters

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


Topic name (TOPNAME)

>

The name of the topic object to be displayed.

The possible values are:

    topic-name
    Specify the name of the topic object. 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 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.


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i