FreeKB - IBM MQ manually stop a connection
IBM MQ - manually stop a connection

If you are not sure what an MQ queue manager is, check out our Getting Started tutorial. These examples are based on Linux.

Start the MQSC utility for the queue manager that you want to display the current connections. In this example, MANAGER01 is the name of the queue manager. If you are not sure the name of the queue manager, use the dspmq command to display the queue managers. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.

Get the connection ID number using the display conn command. End the connection.

echo "stop conn (connection_ID_number)" | runmqsc MANAGER01


Following is an example of what will be displayed.

  18 : stop conn (3944303409348938434)
AMQ8457I: IBM MQ connection stopped.


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 03bd3 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |