View previous topic :: View next topic
|
Author |
Message |
Vignesh Sid
New User
Joined: 04 Sep 2017 Posts: 43 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Vignesh Sid
New User
Joined: 04 Sep 2017 Posts: 43 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Contact your site support group. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
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 |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
|