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 » Reason code 0002 and completion code 2204

Post new topic  Reply to topic
 Reason code 0002 and completion code 2204 « View previous topic :: View next topic » 
Author Message
suriv
PostPosted: Sat Oct 06, 2007 3:01 am    Post subject: Reason code 0002 and completion code 2204 Reply with quote

Newbie

Joined: 27 Sep 2007
Posts: 8

I am accessing MQ CLIENT from a COBOL program. It gets through MQCONN but while doing a MQOPEN it fails with the following error codes.

Reason code 0002 and completion code of 2204. Can some one please suggest a way to overcome this?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Oct 06, 2007 3:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't be using an MQClient from COBOL and receiving a 2204. 2204 only is thrown on zOS, according to the documentation. And there is no MQClient on zOS.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqzao.doc/csq05rea3.htm wrote:
2204 (X'089C')
MQRC_ADAPTER_NOT_AVAILABLE
Explanation:

This is issued only for CICS applications, if any call is issued and the CICS adapter (a Task Related User Exit) has been disabled, or has not been enabled.

This reason code occurs only on z/OS.
Completion Code:

MQCC_FAILED
Programmer Response:

The application should tidy up and terminate. Any uncommitted changes in a unit of work should be backed out. A unit of work that is coordinated by the queue manager is backed out automatically.


So it seems like either your program was started in a CICS environment that doesn't have the CICS Adapter started... or that it was started when the CICS environment was starting to shut down.

Either way, you should talk to your mainframe/CICS administrator and see what they say about this error.
_________________
I am *not* the model of the modern major general.
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 » Reason code 0002 and completion code 2204
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.