Author |
Message
|
Nandhini |
Posted: Thu Mar 01, 2012 2:01 am Post subject: Message to Queue |
|
|
Novice
Joined: 23 Nov 2011 Posts: 13
|
Hi All,
I want to know how to put messages into an input queue through unix command (I mean via putty). I usually put messages using Websphere MQ Explorer. But now I need to write a script in unix to put messages into the queue. I saw a command called MQPUT. But I have absolutely no clue as to how to use it. I dont even know if it is a unix command. Kindly help.
Thanks in advance. |
|
Back to top |
|
 |
rammer |
Posted: Thu Mar 01, 2012 3:27 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
Take a look at amqsput it should be in the samp directory |
|
Back to top |
|
 |
zpat |
Posted: Thu Mar 01, 2012 3:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Support pac MA01 has much more to offer in this respect. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 01, 2012 9:06 am Post subject: Re: Message to Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Nandhini wrote: |
I saw a command called MQPUT. |
Where did you see that? If it was in the WMQ documentation it's an API call not a command.
But aside from that I endorse the advice of my associates. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Nandhini |
Posted: Fri Mar 02, 2012 1:48 am Post subject: |
|
|
Novice
Joined: 23 Nov 2011 Posts: 13
|
Hi Vitor,
I came across this MQPUT when i tried to google on my requirement. The amqsput sample script suggested by 'rammer' also uses MQPUT. And yes I just got to know it is an API call. Is there any unix command to put messages into the queue so that I can go for a shell script?
Thank You. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 02, 2012 2:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Nandhini wrote: |
Hi Vitor,
I came across this MQPUT when i tried to google on my requirement. The amqsput sample script suggested by 'rammer' also uses MQPUT. And yes I just got to know it is an API call. Is there any unix command to put messages into the queue so that I can go for a shell script?
Thank You. |
There is NO "unix" command to do this.
AMQSPUT is a sample program. You can run it from the command line. |
|
Back to top |
|
 |
|