siva_marthala Beginner
Joined: 20 Mar 2007 Posts: 7 Topics: 2 Location: Pune
|
Posted: Mon Aug 18, 2008 11:55 pm Post subject: MQ Queue - read nondestructively |
|
|
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... |
|