FreeKB - PUT a message on a queue using amqsput command
IBM MQ - PUT a message on a queue using amqsput command

These examples are based on Link. Switch to the mqm user.

su - mqm


Start the amqsput utility. This assumes the name of the local queue is QUEUE01 and the name of the manager queue is MANAGER01. 

<mq install root>/samp/bin/amqsput QUEUE01 MANAGER01


Type a message, such as Hello World, and press enter twice.

Hello World


The current depth of the queue should now be increased by one. The display qstatus command can be used to show the current depth of the queue. You can use the amqsbcg command to view the messages in a 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 a4254 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |