+

Search Tips | Advanced Search

Before you start using the IBM MQ for IBM i using CL commands

Use this information to start the IBM MQ subsystem and create a local queue manager.


Before starting

Ensure that the IBM MQ subsystem is running (using the command STRSBS QMQM/QMQM ), and that the job queue associated with that subsystem is not held. By default, the IBM MQ subsystem and job queue are both named QMQM in library QMQM.


About this task

Use the IBM i command line to start a queue manager


Procedure

  1. Create a local queue manager by issuing the CRTMQM command from an IBM i command line. When creating a queue manager, you have the option of making that queue manager the default queue manager. The default queue manager (of which there can only be one) is the queue manager to which a CL command applies, if the queue manager name parameter (MQMNAME) is omitted.
  2. Start a local queue manager by issuing the STRMQM command from an IBM i command line. If the queue manager startup takes more than a few seconds IBM MQ will show status messages intermittently detailing the startup progress. For more information on these messages see Reason codes.


What to do next

We can stop a queue manager by issuing the ENDMQM command from the IBM i command line, and control a queue manager by issuing other IBM MQ commands from an IBM i command line.

Remote queue managers cannot be started remotely but must be created and started in their systems by local operators. An exception to this is where remote operating facilities (outside IBM MQ for IBM i) exist to enable such operations.

The local queue administrator cannot stop a remote queue manager.

Note: As part of quiescing an IBM MQ system, you have to quiesce the active queue managers. This is described in Quiescing IBM MQ for IBM i. Parent topic: Manage IBM MQ for IBM i using CL commands

Last updated: 2020-10-04