Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reply MQ open error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 22
Location: India

PostPosted: Thu Sep 07, 2017 6:02 pm    Post subject: Reply MQ open error
Reply with quote

Hi all,
In our application we used to generate reports online and there can be n number of reports can be pulled at same time.

In such scenario, In test the reports are generated successfully for multiple reports at same time. If a first report is under process the second one waits till the queue already opened gets closed.

But in prod, for same scenario I get the below error
MQOPEN FAILED: REASON => 000000000000002042
ERROR DURING RPYOPEN . RC=000000000000002. REASON=000000000002042

What could be a cause for this? Like MQ setup differs from prod and test or something else...

Also as data in test is not large enough to keep the queue open for long time. So i added wait time to see in test, if contention occurs. But it runs one by one. The second request waits till the first request gets completed.

Please help me with how this can be proceeded.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8187
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 07, 2017 6:24 pm    Post subject: Reply to: Reply MQ open error
Reply with quote

Quote:
What could be a cause for this? Like MQ setup differs from prod and test or something else...
The MQ setup could definitely be different -- and only someone who works AT YOUR SITE can help you with that. Contact your site support group.
Back to top
View user's profile Send private message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 22
Location: India

PostPosted: Thu Sep 07, 2017 6:37 pm    Post subject:
Reply with quote

If that is so could you say me how can I view or browse the MQ info in mainframe like browsing the info of dataset?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8187
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 07, 2017 7:34 pm    Post subject:
Reply with quote

Contact your site support group.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1817
Location: NY,USA

PostPosted: Fri Sep 08, 2017 2:18 am    Post subject:
Reply with quote

Why are you afraid of talking to MQ/CICS site support?
However, The question is how is it passed the QA/UAT test before it went into production? Have you not tested this scenario before? if tested then why the queue properties aren't same in prod as compared to test?

Wild guess is you have MQOO_INPUT_EXCLUSIVE accessed in production.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Fri Sep 08, 2017 12:13 pm    Post subject:
Reply with quote

Also check here

https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.tro.doc/q041130_.htm
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Sep 26, 2017 7:40 pm    Post subject:
Reply with quote

Quote:
If a first report is under process the second one waits till the queue already opened gets closed.


This might be a scheduling issue since you could get a MQRC=2042 if the reporting application opens as "input-exclusive" and two reports run simultaneously - or if another application has the queue as "input exclusive" .

Garry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us