amqsputc sample program, amqsputc, sample programs" /> On the WebSphere MQ client workstation
Home

 

On the WebSphere MQ client workstation

  1. 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 qmgr

    where

    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.

  2. The following message is displayed:

    Sample AMQSPUT0 start
    target queue is QUEUE1

  3. Type some message text and then press Enter twice.

  4. The following message is displayed:

    Sample AMQSPUT0 end

  5. The message is now on the queue.



 

Home