|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRC 2097- Context Handle error |
« View previous topic :: View next topic » |
Author |
Message
|
wsd1374 |
Posted: Thu Feb 12, 2009 9:49 am Post subject: MQRC 2097- Context Handle error |
|
|
Newbie
Joined: 12 Feb 2009 Posts: 2
|
Using Websphere 6.0 on z/os and CICS. When using PUTONE, I get this message. Does anyone know how to resolve this error?
Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 12, 2009 10:04 am Post subject: Re: MQRC 2097- Context Handle error |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
wsd1374 wrote: |
Using Websphere 6.0 on z/os and CICS. When using PUTONE, I get this message. Does anyone know how to resolve this error? |
Quote: |
2097 (0831) (RC2097): MQRC_CONTEXT_HANDLE_ERROR
Explanation
On an MQPUT or MQPUT1 call, MQPMO_PASS_IDENTITY_CONTEXT or MQPMO_PASS_ALL_CONTEXT was specified, but the handle specified in the Context field of the PutMsgOpts parameter is either not a valid queue handle, or it is a valid queue handle but the queue was not opened with MQOO_SAVE_ALL_CONTEXT.
Completion Code
MQCC_FAILED
Programmer response
Specify MQOO_SAVE_ALL_CONTEXT when the queue referred to is opened. |
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzao.doc/fm12910_.htm
 _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Thu Feb 12, 2009 1:27 pm; edited 1 time in total |
|
Back to top |
|
 |
wsd1374 |
Posted: Thu Feb 12, 2009 10:11 am Post subject: Thanks! But, PUTONE opens the queue .... |
|
|
Newbie
Joined: 12 Feb 2009 Posts: 2
|
Thanks! But, PUTONE opens the queue so I can't specify any options on the OPEN QUEUE, can I? |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 12, 2009 10:24 am Post subject: Re: MQRC 2097- Context Handle error |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
On an MQPUT or MQPUT1 call, MQPMO_PASS_IDENTITY_CONTEXT or MQPMO_PASS_ALL_CONTEXT was specified, |
|
|
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
|
|
|
|