If you are not sure what an MQ Server Connection Channel is, check out our Getting Started tutorial. These examples are based on Linux. Switch to the mqm user.
su - mqm
Start the MQSC utility for the queue manager that you want to set up the server connection channel on. In this example, MANAGER01 is the name of the queue manager. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.
Before deleting a channel, use the display channel command to ensure the channel exists.
The delete channel command is used to delete a channel. In this example, the channel named CHANNEL01 is deleted.
echo "delete channel ('CHANNEL01')" | runmqsc MANAGER01
The following should be displayed.
AMQ8015I: IBM MQ channel deleted.