IBM MQ - Display queue manager using the dspmq command

by
Jeremy Canfield |
Updated: August 04 2022
| IBM MQ articles
The dspmq command can be used to to display the queue managers and their status.
dspmq
In this example, there are 4 queue managers.
QMNAME(MANAGER01) STATUS(Running)
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.
The -o all option can be used to include additional data in the output.
dspmq -o all
QMNAME(MANAGER01) STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(9.1.0.5)
QMNAME(MANAGER02) STATUS(Running elsewhere) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(9.1.0.5)
QMNAME(MANAGER03) STATUS(Running) DEFAULT(no) STANDBY(Permitted) INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(9.1.0.5)
The strmqm command can be used to start a queue manager.
The endmqm command can be used to stop a queue manager.
Did you find this article helpful?
If so, consider buying me a coffee over at