Display MQ Subscription (DSPMQMSUB)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Subscription (DSPMQMSUB) command displays the attributes of an existing MQ subscription.


Parameters

Keyword Description Choices Notes
SUBID Subscription identifier Character value, *NONE Optional, Positional 1
SUBNAME Subscription name Character value, *NONE Optional, Positional 2
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 3
OUTPUT Output *, *PRINT Optional, Positional 4


Subscription identifier (SUBID)

>

The subscription identifier of the subscription to be displayed.

The possible values are:

    subscription-name
    Specify a maximum of 256 bytes for the subscription name.

    Note: Subscription names of greater than 256 bytes can be specified using MQSC.


Subscription name (SUBNAME)

>

The name of the subscription to be displayed.

The possible values are:

    subscription-name
    Specify a maximum of 256 bytes for the subscription name.

    Note: Subscription names of greater than 256 bytes can be specified using MQSC.


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