FreeKB - IBM MQ display queue manager using the dspmq command
IBM MQ - display queue manager using the dspmq command

These examples are based on Linux. Switch to the mqm user.

su - mqm


Use the dspmq command to display the queue managers. In this example, there are 4 queue managers. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.


QMNAME(MANAGER02)    STATUS(Running as standby)
QMNAME(MANAGER03)    STATUS(Running elsewhere)
QMNAME(MANAGER04)    STATUS(Ended normally)


Or, the display qmstatus command can be used as well.


Include installation name/path/version

If you have more than one installation of MQ installed, you can use the -o installation option to display the installation name, path, and version. Typically, the -o status option is also included to display the status of the queue manager.

dspmq -o installation -o status

QMNAME(MANAGER01)    STATUS(Running) INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(


The strmqm command can be used to start a queue manager.

The endmqm command can be used to stop a queue manager.

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


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