FreeKB - delete channel command
IBM MQ - delete channel command

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.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 39da6 in the box below so that we can be sure you are a human.