IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Reply MQ open error


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 43
Location: India

PostPosted: Thu Sep 07, 2017 6:02 pm
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Thu Sep 07, 2017 6:24 pm
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: 43
Location: India

PostPosted: Thu Sep 07, 2017 6:37 pm
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: 8569
Location: Dubuque, Iowa, USA

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

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

Global Moderator


Joined: 21 Sep 2010
Posts: 2632
Location: NYC,USA

PostPosted: Fri Sep 08, 2017 2:18 am
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

Global Moderator


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

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

Also check here

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: 1104
Location: Dublin, Ireland

PostPosted: Tue Sep 26, 2017 7:40 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COOLGEN - DB2. -927 error while initi... DB2 8
No new posts SOC7 error with DFSORT DFSORT/ICETOOL 9
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Error 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
No new posts Getting error while xped JCL & VSAM 10
Search our Forums:

Back to Top