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 

CICS Commit and Syncpoint

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


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Thu Jul 16, 2009 10:57 am    Post subject: CICS Commit and Syncpoint Reply with quote

Ok.. I have this following scenario..

Our MQ message triggers a CICS transaction and it does the following.

1. Updates the message into a table
2. Reformats the message into 2 records
3. Updates one record at a time into the database

In Step 3, we would want to commit the database after the first record is written. DB2 Commit will not work since this is part of a CICS transaction. Is there a way, we can issue a commit to the database without issuing CICS SYNCPOINT? (Google search revealed about SRRCMIT but not sure if it is a right thing to do as don't have a trace of this program in our existing Production environment). Please let me know if you get a chance. Thanks much for your time.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Jul 16, 2009 11:03 am    Post subject: Reply with quote

karavi2000,

Read Upon Two-phase commit process here

http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.admin/db2z_twophasecommit.htm

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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