Display MQ Channel (DSPMQMCHL)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Channel (DSPMQMCHL) command displays the attributes of an existing MQ channel definition.


Parameters

Keyword Description Choices Notes
CHLNAME Channel name Character value Required, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 3
CHLTYPE Channel type *RCVR, *SDR, *SVR, *RQSTR, *SVRCN, *CLUSSDR, *CLUSRCVR, *NONCLT, *CLTCN Optional, Positional 4


Channel name (CHLNAME)

>

Specifies the name of the channel definition.

The possible values are:

    channel-name
    Specify the channel name.


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:

    *DFT
    The default queue manager is used. If we do not have a default queue manager defined on the system, the command fails.

    message-queue-manager-name
    The name of a message queue manager.


Channel type (CHLTYPE)

>

Specifies the type of the channel to be displayed.

The possible values are:

    *NONCLT
    Any channel type, that is not a client-connection channel, that matches the channel name.


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i