Message queue control commands

You can control message queues by using MQSC commands that are issued on the IBM® MQ Appliance command line.

To use the IBM MQ control commands, you must enter the IBM MQ administration mode by entering the command mqcli on the command line. You can exit the IBM MQ administration mode by entering the command exit.

The following control commands are available on the IBM MQ Appliance.

Command Description
addmqm (add existing queue manager) Add an existing queue manager that uses SAN storage (used for recovery).
crtmqm (create queue manager) Create a queue manager.
dltmqm (delete queue manager) Delete a queue manager.
dmpmqcfg (dump queue manager configuration) Dump the configuration of a queue manager.
dspmq (display queue managers) Display information about queue managers.
endmqm (end queue manager) Stop a queue manager.
rmvmqinf (remove queue manager that uses SAN) Remove a queue manager that uses SAN storage. (SAN storage is available only on M2000 and M2001 appliances, it is not available on M2002 appliances.)
runmqsc (run MQSC commands) Run MQSC commands on a queue manager.
setmqsize (increase queue manager file system size) Increase the size of the file system allocated to a queue manager.
strmqm (start queue manager) Start a queue manager.

For a full description of commands that are supported on the IBM MQ Appliance, see Control commands on the IBM MQ Appliance.