View previous topic :: View next topic
|
Author |
Message |
siva_marthala
New User
Joined: 22 Aug 2007 Posts: 7 Location: Pune
|
|
|
|
When I am using MQOO-BROWSE in MQOPEN , my module is abended with reason 2037 .
===================================
RC2037(2037)
Explanation:
An MQGET call was issued to retrieve a message from a queue, but the queue had not been opened for input.
Programmer Response:
Specify one of the following when the queue is opened:
OOINPS
OOINPX
OOINPQ
====================================
I am using MQOO-BROWSE + MQOO-INPUT-SHARED in MQOPEN, MQGMO-BROWSE-FIRST AND MQGMO-BROWSE-NEXT options in MQGET; the data in source queue being deleted.
Tried with MQOO-INPUT-EXCLUSIVE AND MQOO-INPUT-AS-A-DEF. but result is same. source queue being deleted after MQGET call.
Is there any other options to read MQ read nondestructively.
Please do not provide links of Websphere MQ as resolution.
Read and being used. Still the problem is not resolving.
Please send any tailored made solution, if you have.
Thanks
Siva... |
|
Back to top |
|
|
siva_marthala
New User
Joined: 22 Aug 2007 Posts: 7 Location: Pune
|
|
|
|
I resolved my prooblem after reading lot and experimneting lot with program. Now my batch module read the messages from source queue non-destructively and put into target queue.
thanks
Siva |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
after reading lot and experimneting lot with program.
|
Siva, congratulations.
you are also added to my list of those who attempt to help themselves.
you will now receive help from me, if i can give it. |
|
Back to top |
|
|
siva_marthala
New User
Joined: 22 Aug 2007 Posts: 7 Location: Pune
|
|
|
|
dbzTHEdinosauer
Thank you. But for me it was a very good learning experience.
Siva... |
|
Back to top |
|
|
|