Create the queue manager

Create an IBM MQ queue manager to receive messages from the remote queue manager.


Before starting

We must have IBM MQ installed. For more information about installing IBM MQ, see Installing an IBM MQ server on Windows.


Create the IBM MQ queue manager by using the command-line interface.


Procedure

  1. Create a queue manager with the name QM2. On the command-line, type:
    crtmqm QM2
    
    The following messages are displayed:
    IBM MQ queue manager created.
    Creating or replacing default objects for QM2.
    Default objects statistics : 61 created. 0 replaced. 0 failed.
    Completing setup.
    Setup completed.
    
  2. Start the queue manager. On the command-line, type:
    strmqm QM2
    
    The following messages are displayed to confirm that the queue manager is started:
    IBM MQ queue manager 'QM2' starting.
    5 log records accessed on queue manager 'QM2' during the log replay phase.
    Log replay for queue manager 'QM2' complete.
    Transaction manager state recovered for queue manager 'QM2'.
    IBM MQ queue manager 'QM2' started.
    


Results

The IBM MQ queue manager QM2 is created and started.


What to do next

To create the queue to use with QM2, follow the instructions in Create the queue. Parent topic: Create the distributed queue manager topology Next topic: Create the queue