Author |
Message
|
paatchu |
Posted: Thu Feb 14, 2008 11:57 pm Post subject: Putting a message to a RemoteQ with amqsapi |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
While i'm Putting a message to a RemoteQ with amqsapi, it gives "MQRC_OPTION_NOT_VALID_FOR_TYPE" error.
But i can successfully put the message in MQExplorer
Why so? _________________ Poetry with Programming |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Feb 15, 2008 12:51 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
it may be obvious to others, but i never heard about amqsapi. whats amqsapi? do you mean a self written program that uses the MQSeries API or is it a sample, supportpac or whatever?
what options did you specifry on mqopen / mqput of the queue? _________________ Regards, Butcher |
|
Back to top |
|
 |
zpat |
Posted: Fri Feb 15, 2008 1:03 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
It's because you opened a remote queue for INPUT as well as OUTPUT.
Don't do that! |
|
Back to top |
|
 |
paatchu |
Posted: Fri Feb 15, 2008 1:40 am Post subject: Absolutly right |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
Vitor You are absolutely right..
Now it works.!!
NB:- Actual program name was amqapi not amqsapi ..sorry. _________________ Poetry with Programming |
|
Back to top |
|
 |
paatchu |
Posted: Fri Feb 15, 2008 1:47 am Post subject: |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
oops Wrong again
zpat zpat zpat Thaaaanks _________________ Poetry with Programming |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 15, 2008 1:49 am Post subject: Re: Absolutly right |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
paatchu wrote: |
Vitor You are absolutely right.. |
I can truthfully say it was nothing  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|