Stopping a channel
We can stop a channel using MQSC commands or using the operations and control panels.
To stop a channel using the MQSC commands, use STOP CHANNEL.
Use the operations and control panels, starting from the initial panel, complete these fields and press enter:
The Stop a Channel panel is displayed. The text following the panel explains how to use the panel:
Field Value Action 7 (Stop) Object type channel type (for example SENDER) or CHANNEL Name CHANNEL.TO.USE Disposition The disposition of the object. Select the disposition of the channel for which the stop is to be done and on which queue manager it is to be stopped.
Choose the stop mode that you require:
- Quiesce
- The channel stops when the current message is completed and the batch is then ended, even if the batch size value has not been reached and there are messages already waiting on the transmission queue. No new batches are started. This mode is the default.
- Force
- The channel stops immediately. If a batch of messages is in progress, an 'in-doubt' situation can result.
Choose the queue manager and connection name for the channel we want to stop.
Choose the status that you require:
- Stopped
- The channel is not restarted automatically, and must be restarted manually. This mode is the default if no queue manager or connection name is specified. If a name is specified, it is not allowed.
- Inactive
- The channel is restarted automatically when required. This mode is the default if a queue manager or connection name is specified.
Press enter to stop the channel.
See Stopping and quiescing channels for more information. For information about restarting stopped channels, see Restarting stopped channels.
Note: If a shared channel is in a retry state and the channel initiator on which it was started is not running, a STOP request for the channel is issued on the queue manager where the command was entered. Parent topic: Monitor and control channels on z/OS