IBM MQ - Stop channel using the stop channel command

by
Jeremy Canfield |
Updated: August 04 2022
| IBM MQ articles
A channel is used to used to make a connection to an IBM MQ queue manager, thus each connection will be associated with a channel.
The stop channel command can be used to stop a channel. In this example, the channel named CHANNEL01 in the queue manager named MANAGER01 will be stopped.
echo "stop channel (CHANNEL01)" | runmqsc MANAGER01
The following should be displayed.
AMQ8019I: Stop IBM MQ channel accepted.
After the channel has been stopped, the display chstatus command should have STOPPED.
AMQ8417: Display Channel Status details.
CHANNEL(MANAGER01.CHANNEL01.SVR) CHLTYPE(SVRCONN)
CONNAME(10.1.2.3) CURRENT
STATUS(STOPPED) SUBSTATE( )
Did you find this article helpful?
If so, consider buying me a coffee over at