STOP 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 STOP CHANNEL to stop a channel.

Notes:
  1. On z/OS, the command server and the channel initiator must be running.
  2. Any channels in STOPPED state need to be started manually; they are not started automatically. See the WebSphere MQ Intercommunication manual for information about restarting stopped channels.
  3. This command can be issued to a channel of any type except CLNTCONN channels (including those that have been defined automatically).
  4. Where there is both a locally defined channel and an auto-defined cluster-sender channel of the same name, the command applies to the locally defined channel. If there is no locally defined channel but more than one auto-defined cluster-sender channel, the command applies to the channel that was last added to the local queue manager's repository.

Synonym: STOP CHL

Read syntax diagramSkip visual syntax diagramSTOP CHANNEL

                               .-CHLDISP(PRIVATE)-----. (2)
>>-STOP CHANNEL(channel-name)--+----------------------+--------->
                               |                 (1)  |
                               '-CHLDISP(SHARED)------'

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

                                   .-MODE(QUIESCE)---.
>--+----------------------------+--+-----------------+---------->
   '-CONNAME--(connection-name)-'  +-MODE(FORCE)-----+
                                   '-MODE(TERMINATE)-'

>--+------------------+--+----------------------------+--------><
   '-QMNAME--(qmname)-'  '-STATUS--(--+-STOPPED--+--)-'
                                      '-INACTIVE-'

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