Create the queue manager

Create an IBM MQ queue manager to send messages to the target queue manager.


Before starting


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


Procedure

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


Results

The IBM MQ queue manager QM1 is created and started.


What to do next

To create the queues to use with QM1, follow the instructions in Create the queues. Parent topic: Implement the solution Next topic: Create the queues