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 » Mainframe, CICS, TXSeries » MQRC 2097- Context Handle error

Post new topic  Reply to topic
 MQRC 2097- Context Handle error « View previous topic :: View next topic » 
Author Message
wsd1374
PostPosted: Thu Feb 12, 2009 9:49 am    Post subject: MQRC 2097- Context Handle error Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 12, 2009 10:04 am    Post subject: Re: MQRC 2097- Context Handle error Reply with quote

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
View user's profile Send private message
wsd1374
PostPosted: Thu Feb 12, 2009 10:11 am    Post subject: Thanks! But, PUTONE opens the queue .... Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 12, 2009 10:24 am    Post subject: Re: MQRC 2097- Context Handle error Reply with quote

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
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 » Mainframe, CICS, TXSeries » MQRC 2097- Context Handle error
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.