MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reason for MQ Return Code = 2018

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Jul 27, 2005 6:28 am    Post subject: Reason for MQ Return Code = 2018 Reply with quote

Hi all,

We are using application which involves interaction with DB2 and MQ.
Sometimes the service fails and gives MQ OPEN RC=2018 FOR QMGR.
I have searched in http://www-306.ibm.com/software/integration/mqfamily/library/manuals/csqfao/CSQFAO1P.HTM which explains the details for this error.

I am not able to understand what could be the reason. Can someone explain me and tell me what could be the possible reasons and solution for the same.

Regards,
PM
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Jul 27, 2005 7:24 am    Post subject: Reply with quote

Have you verified this?

Quote:
On MVS/ESA, also check that the application has been linked with the correct stub (CSQCSTUB for CICS applications, CSQBSTUB for batch applications, and CSQQSTUB for IMS applications). Also, the stub used must not belong to a release of MQSeries which is more recent than the release on which the application will run.

_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Wed Jul 27, 2005 8:07 am    Post subject: Reply with quote

I would look at his amode options.

Cheers
Brian
Back to top
View user's profile Send private message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Jul 27, 2005 11:56 pm    Post subject: Reason for MQ Return Code = 2018 Reply with quote

Hi Cogito-Ergo-Sum,

Could you please let me know how should I check whether the application is linked to correct stub or not.

Thanks,
PM
Back to top
View user's profile Send private message
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Thu Jul 28, 2005 12:13 am    Post subject: Reply with quote

Preety,

You need to add the proper stub to your link edit step. It will be something like this.
Code:

//SYSIN     DD *
 INCLUDE SYSLIB(CSQBSTUB)
/*


and SYSLIB should point to MQM.SCSQLOAD. The high level qualifier may vary from shop to shop.

Cheers
Brian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group