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 

Commiting a single MQ in a multi MQ transaction

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


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Wed Apr 26, 2006 7:40 am    Post subject: Commiting a single MQ in a multi MQ transaction Reply with quote

I am working on an application (APP1) that processes multiple MQs (both input as well as output) simultaneously. There is a requirement to add a new MQ which will act as a remote MQ for another application (APP2).

During any transaction of APP1, some data will be placed on this new MQ and a MQ commit will have to be issued for APP2 to pick the data. However, there would be data on the other MQs used in APP1 which shouldn't be commited.

Is there any way to achieve this ? i.e. is it possible to issue a MQ commit on a single MQ without affecting the other MQs within that unit of work ?

Any pointers to a solution would be of great help.

Thanks.
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu Apr 27, 2006 8:33 am    Post subject: Reply with quote

cxvxbx,
Refer to MQ PUT Options. You can set a message to have implicit commit by using "MQPMO-NO-SYNCPOINT", this message would be outside the control of the LUW. However, if you have to rollback this particular message you have to programatically do it. Refer to the manuals for more details on the put options. Thanks
Back to top
View user's profile Send private message
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Wed May 03, 2006 1:12 am    Post subject: Reply with quote

Thanks for the response suresh.

I explored the option and its working fine on a local Q.

However, while using this on a remote MQ, i am able to put the message but unable to get a response. Do you have any pointers on the possible issue with this ?
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