DELETE CHANNEL

Compaq NSK HP OpenVMS i5/OS UNIX systems Windows z/OS
X X X X X CR

For an explanation of the symbols in the z/OS column, see Using commands in z/OS.

Use DELETE CHANNEL to delete a channel definition.

Notes for z/OS users:
  1. The command fails if the channel initiator and command server have not been started, or the channel status is RUNNING, except client-connection channels, which can be deleted without the channel initiator or command server running.
  2. You can only delete cluster-sender channels that have been created manually.

Synonym: DELETE CHL

Read syntax diagramSkip visual syntax diagramDELETE CHANNEL

                                 .-CHLTABLE(QMGRTBL)-.
>>-DELETE CHANNEL(channel-name)--+-------------------+---------->
                                 '-CHLTABLE(CLNTTBL)-'

   .-CMDSCOPE(' ')------------. (2)
>--+--------------------------+--------------------------------->
   |                     (1)  |
   +-CMDSCOPE(qmgr-name)------+
   |             (1)          |
   '-CMDSCOPE(*)--------------'

   .-QSGDISP(QMGR)-------. (2)
>--+---------------------+-------------------------------------><
   +-QSGDISP(COPY)-------+
   |                (1)  |
   '-QSGDISP(GROUP)------'

Notes:
  1. Valid only onz/OS when the queue manager is a member of a queue-sharing group.
  2. Valid only on z/OS.