[IBM i]

DLTMQMCHL (Delete MQ Channel)

Where allowed to run
All environments (*ALL)
Threadsafe
Yes

The Delete MQ Channel (DLTMQMCHL) command deletes the specified channel definition.

Parameters

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

Channel name (CHLNAME)

Specifies the name of the channel definition.

The possible values are:

channel-name
Specify the channel name.

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 you 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

Specifies the type of the channel to delete.

The possible values are:

*NONCLT
Any channel type, that is not a client-connection channel, that matches the channel name.
*SDR
Sender channel
*SVR
Server channel
*RCVR
Receiver channel
*RQSTR
Requester channel
*SVRCN
Server-connection channel
*CLUSSDR
Cluster-sender channel
*CLUSRCVR
Cluster-receiver channel
*CLTCN
Client-connection channel