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

by
Jeremy Canfield |
Updated: March 08 2020
| IBM MQ articles
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.
Did you find this article helpful?
If so, consider buying me a coffee over at