Bootstrap FreeKB - IBM MQ - Display queue manager using the dspmq command
IBM MQ - Display queue manager using the dspmq command

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


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