MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MQ Queue - read nondestructively

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
siva_marthala
Beginner


Joined: 20 Mar 2007
Posts: 7
Topics: 2
Location: Pune

PostPosted: Mon Aug 18, 2008 11:55 pm    Post subject: MQ Queue - read nondestructively Reply with quote

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
View user's profile Send private message
siva_marthala
Beginner


Joined: 20 Mar 2007
Posts: 7
Topics: 2
Location: Pune

PostPosted: Wed Aug 20, 2008 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group