|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJE001: Completion Code 2, Reason 2037 |
« View previous topic :: View next topic » |
Author |
Message
|
ras2006 |
Posted: Mon Apr 02, 2007 11:35 pm Post subject: MQJE001: Completion Code 2, Reason 2037 |
|
|
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 |
|
 |
zpat |
Posted: Mon Apr 02, 2007 11:52 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Are you testing the MQRC from the MQOPEN? |
|
Back to top |
|
 |
ras2006 |
Posted: Mon Apr 02, 2007 11:59 pm Post subject: re: |
|
|
Newbie
Joined: 02 Apr 2007 Posts: 3
|
zpat wrote: |
Are you testing the MQRC from the MQOPEN? |
What do you mean |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 03, 2007 12:15 am Post subject: Re: re: |
|
|
 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 |
|
 |
ras2006 |
Posted: Tue Apr 03, 2007 12:21 am Post subject: Re: re: |
|
|
Newbie
Joined: 02 Apr 2007 Posts: 3
|
I am not;
I will try that and see what the open returns |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|