we can use mq provided sample program amqsput to put the message into the queue . refer below screen

In the same way if we want to get the message from the queue use amqsget .
we can use mq provided sample program amqsput to put the message into the queue . refer below screen
In the same way if we want to get the message from the queue use amqsget .