FreeKB - Create IBM MQ Local Queue
Create IBM MQ Local Queue

Home > Search


Before creating a local queue, you will need to create a queue manager.


If using MQ Explorer

A normal local queue is used to store local messages.

  1. In the left panel of MQ Explorer, expand Queue Managers > Your queue manager.
  2. Right-click on the Queue's folder, and select New > Local Queue.
  3. Give your local queue a name, and select Next.
  4. Set the Usage drop-down to Normal.
  5. Select Finish.

 

A local transmission queue is used to transmit messages to a remote queue.

  1. In the left panel of MQ Explorer, expand Queue Managers > Your queue manager.
  2. Right-click on the Queue's folder, and select New > Local Queue.
  3. Give your local queue a name, and select Next.
  4. Set the Usage drop-down to Transmission.
  5. Select Finish.

 

In this example, a local queue named QUEUE01 was created.

 


If using Linux command line

On the MQ Server, switch to the mqm user.

~]# su - mqm

 

Start the MQSC utility.

~]# /opt/mqm/bin/runmqsc

 

Create a local queue named QUEUE01.

define qlocal (QUEUE01)

 

Display the local queue, to verify it was created.

display qlocal (QUEUE01)

 

Exit the MQSC utility.

end

 

Return to your user account.

~]# exit

 

You can now put a message in the local queue.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments