Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MQ Queue - read nondestructively

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
siva_marthala

New User


Joined: 22 Aug 2007
Posts: 7
Location: Pune

PostPosted: Tue Aug 19, 2008 10:36 am    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

New User


Joined: 22 Aug 2007
Posts: 7
Location: Pune

PostPosted: Wed Aug 20, 2008 7:47 pm    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
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Aug 20, 2008 7:51 pm    Post subject:
Reply with quote

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

New User


Joined: 22 Aug 2007
Posts: 7
Location: Pune

PostPosted: Thu Aug 21, 2008 12:29 pm    Post subject:
Reply with quote

dbzTHEdinosauer

Thank you. But for me it was a very good learning experience.

Siva...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 Tue May 09, 2017 6:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Read of TDQ fails in LENGERR Tracy Hansen CICS 10 Wed Apr 05, 2017 12:10 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us