View previous topic :: View next topic |
Author |
Message |
Preety Beginner

Joined: 15 Mar 2005 Posts: 23 Topics: 12
|
Posted: Wed Jul 27, 2005 6:28 am Post subject: Reason for MQ Return Code = 2018 |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Jul 27, 2005 7:24 am Post subject: |
|
|
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 |
|
 |
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Wed Jul 27, 2005 8:07 am Post subject: |
|
|
I would look at his amode options.
Cheers
Brian |
|
Back to top |
|
 |
Preety Beginner

Joined: 15 Mar 2005 Posts: 23 Topics: 12
|
Posted: Wed Jul 27, 2005 11:56 pm Post subject: Reason for MQ Return Code = 2018 |
|
|
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 |
|
 |
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Thu Jul 28, 2005 12:13 am Post subject: |
|
|
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 |
|
 |
|
|