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

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


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