Testing the installation
Before completing this task have created a queue manager called venus.queue.manager and a local queue called ORANGE.QUEUE. For instructions on how to do this see Setting up the installation.
To test the queue manager and queue, use the amqsput sample program to put a message on the queue, and the amqsget sample program to get the message back from the queue:
- Log on as a user in group mqm, if you are not already.
- Change into the /opt/mqm/samp/bin directory, which contains the sample programs.
- Put a message on the queue using the following command:
./amqsput ORANGE.QUEUEThe following messages are displayed:Sample AMQSPUT0 start target queue is ORANGE.QUEUE- Type some message text, on one or more lines, followed by a blank line. The following message is displayed:
Sample AMQSPUT0 endYour message is now on the queue and the command prompt is displayed again.- To get the message from the queue...
./amqsget ORANGE.QUEUEThe sample program starts, and your message is displayed. After a pause, the sample ends and the command prompt is displayed again.
You have now successfully verified your local installation.
Parent topic:
Verifying a local installation
hq10430_