ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Putting a message to a RemoteQ with amqsapi

Post new topic  Reply to topic
 Putting a message to a RemoteQ with amqsapi « View previous topic :: View next topic » 
Author Message
paatchu
PostPosted: Thu Feb 14, 2008 11:57 pm    Post subject: Putting a message to a RemoteQ with amqsapi Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Fri Feb 15, 2008 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Feb 15, 2008 1:03 am    Post subject: Reply with quote

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
View user's profile Send private message
paatchu
PostPosted: Fri Feb 15, 2008 1:40 am    Post subject: Absolutly right Reply with quote

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
View user's profile Send private message
paatchu
PostPosted: Fri Feb 15, 2008 1:47 am    Post subject: Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

oops Wrong again

zpat zpat zpat Thaaaanks
_________________
Poetry with Programming
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 15, 2008 1:49 am    Post subject: Re: Absolutly right Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Putting a message to a RemoteQ with amqsapi
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.