Display MQ Service (DSPMQMSVC)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Service object (DSPMQMSVC) command displays the attributes of an existing MQ service object.


Parameters

Keyword Description Choices Notes
SVCNAME Service 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


Service name (SVCNAME)

>

The name of the service object to display.

The possible values are:

    service-name
    Specify the name of the service 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:


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