ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Commit/Rollback strategy

Post new topic  Reply to topic
 Commit/Rollback strategy « View previous topic :: View next topic » 
Author Message
gladcon
PostPosted: Mon Oct 18, 2004 10:28 am    Post subject: Commit/Rollback strategy Reply with quote

Newbie

Joined: 14 Jan 2004
Posts: 2

Our DB2 application runnning on OS/390 is putting MQ messages to the Remote Queue created on Win NT Server.

Would issuing the DB2 Commit cause the MQCMIT on that Win NT server?

Would issuing the DB2 Rollback cause the MQBACK on that Win NT server?

It is also getting some messages fro the OS/390 local quueues.

How the DB2 Commit and Rollback would work for these?

Appreciate your help in advance...

g.d.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Oct 18, 2004 10:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

The remote queue you are referring to is a local queue on the NT box but you have a remote queue defined on OS/390 right?

I think you should be able to do both of these.

Quote:
Would issuing the DB2 Commit cause the MQCMIT on that Win NT server?

Would issuing the DB2 Rollback cause the MQBACK on that Win NT server?


MQ commit will not be done on the NT box by a DB2 commit on the mainframe, but an MQ commit will be done on the mainframe and the message will be available for the MCA on the mainframe to be picked up and sent to NT box.


It works the same way for this also

Quote:
It is also getting some messages fro the OS/390 local quueues.

How the DB2 Commit and Rollback would work for these?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kirani
PostPosted: Mon Oct 18, 2004 1:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

If you plan to coordinate transactions between MQ and DB2 then use 2-phase commit.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Commit/Rollback strategy
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.