Getting a message from the queue

On the WebSphere® MQ client workstation, get a message from the queue using the amqsgetc sample program:
Enter the following command:
amqsgetc QUEUE1 queue.manager.1
The sample program starts, and your message is displayed. After a short pause, the sample ends and the command prompt is displayed again.