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 » IBM MQ Java / JMS » MQJE001: Completion Code 2, Reason 2037

Post new topic  Reply to topic
 MQJE001: Completion Code 2, Reason 2037 « View previous topic :: View next topic » 
Author Message
ras2006
PostPosted: Mon Apr 02, 2007 11:35 pm    Post subject: MQJE001: Completion Code 2, Reason 2037 Reply with quote

Newbie

Joined: 02 Apr 2007
Posts: 3

Hi;

I get the following Error:
MQRC_NOT_OPEN_FOR_INPUT; MQJE001: Completion Code 2, Reason 2037

This As far as I know means I may be doing a get() from a Queue before opening for Input using any of the following:


    MQOO_INPUT_SHARED
    MQOO_INPUT_EXCLUSIVE
    MQOO_INPUT_AS_Q_DEF

But I am, and the Error still persists, any assistance?

Code Sample:

MQInput.getqueueAccessOptions().setMQOO_INPUT_EXCLUSIVE( true );
MQInput.getGMO().setMQGMO_ACCEPT_TRUNCATED_MSG( false );
MQInput.getGMO().setMQGMO_COMPLETE_MSG( true );
MQInput.getWithOptions();

I have tried this also:

MQInput.getqueueAccessOptions().setMQOO_INPUT_SHARED( true );
MQInput.getGMO().setMQGMO_ACCEPT_TRUNCATED_MSG( false );
MQInput.getGMO().setMQGMO_COMPLETE_MSG( true );
MQInput.getQueue().get();
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Apr 02, 2007 11:52 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Are you testing the MQRC from the MQOPEN?
Back to top
View user's profile Send private message
ras2006
PostPosted: Mon Apr 02, 2007 11:59 pm    Post subject: re: Reply with quote

Newbie

Joined: 02 Apr 2007
Posts: 3

zpat wrote:
Are you testing the MQRC from the MQOPEN?


What do you mean
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 03, 2007 12:15 am    Post subject: Re: re: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ras2006 wrote:
zpat wrote:
Are you testing the MQRC from the MQOPEN?


What do you mean


I think he means if the get() is returning a 2037, are you testing if the open is returning zero or is that failing for some reason (leading to a queue not open)??
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ras2006
PostPosted: Tue Apr 03, 2007 12:21 am    Post subject: Re: re: Reply with quote

Newbie

Joined: 02 Apr 2007
Posts: 3

I am not;

I will try that and see what the open returns
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 » IBM MQ Java / JMS » MQJE001: Completion Code 2, Reason 2037
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.