
by
Jeremy Canfield | Updated November 27th, 2017
If using MQ Explorer
To start a queue manager, right-click on the queue manager and select Start > Start as Created and select OK. The status of the queue manager should be Running.
To stop a queue manager, right-click on the queue manager and select Stop > Controlled or Stop > Immediate and select OK. The status of the queue manager should be Stopped.
If using Linux command line
Switch to the mqm user.
~]# su - mqm
Display the managers that exist on the system. Let's say there is a manager named MANAGER01. In this example, the manager is not running.
~]# /opt/mqm/bin/dspmq
QMNAME(MANAGER01) STATUS(Ended unexpectedly)
Start the manager queue.
~]# /opt/mqm/bin/strmqm MANAGER01
. . .
IBM MQ queue manager 'MANAGER01' starting using v9.0.4.0.
Display the managers again. Now, MANAGER01 is running.
~]# /opt/mqm/bin/dspmq
QMNAME(MANAGER01) STATUS(Running)
Stop the manager queue.
~]# /opt/mqm/bin/endmqm MANAGER01
Return to your user account.
~]# exit