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 » Mainframe, CICS, TXSeries » Commit in both MQ and DB2 under CICS

Post new topic  Reply to topic
 Commit in both MQ and DB2 under CICS « View previous topic :: View next topic » 
Author Message
yacov
PostPosted: Fri Jul 27, 2007 5:44 am    Post subject: Commit in both MQ and DB2 under CICS Reply with quote

Newbie

Joined: 27 Jul 2007
Posts: 3
Location: Israel

Hi,

In our cics program we read db2 table, take the apropriate rows and send them using MQ. After sending we mark (update) a row with status of "sent".

The question is, how it is possible to make a commit in both MQ and DB2 systems simultaneously in cics?

Is cics command 'exec cics syncpoint' is the right solution?

We have WMQ,z/os system.
_________________
Yacov
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 27, 2007 5:51 am    Post subject: Re: Commit in both MQ and DB2 under CICS Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

yacov wrote:

Is cics command 'exec cics syncpoint' is the right solution?


Yes. Ensure both DB2 & MQ are configured to use CICS as the XA transaction coordinator.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Commit in both MQ and DB2 under CICS
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.