amqsputc sample program, amqsputc, sample programs" />
Home
On the WebSphere MQ client workstation
- From a command prompt window, change to the directory containing the sample program amqsputc.exe. This is in the
/samp/bin directory on UNIX and the Samples\Bin directory in Windows. Then enter the following command:
amqsputc QUEUE1 qmgrwhere
qmgr is the name of the queue manager on the server and QUEUE1 is the queue you set up on the server in an earlier step.
- The following message is displayed:
Sample AMQSPUT0 start target queue is QUEUE1- Type some message text and then press Enter twice.
- The following message is displayed:
Sample AMQSPUT0 end- The message is now on the queue.
Home