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 

Help about Commit

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
nsantos
Beginner


Joined: 23 Sep 2003
Posts: 7
Topics: 4

PostPosted: Thu Mar 09, 2006 1:21 pm    Post subject: Help about Commit Reply with quote

Hi,
here
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Mar 09, 2006 2:01 pm    Post subject: Reply with quote

Quote:

My question is :

When program A calls B, when program B does the commit, the rows that were updated but not committed in program A are committed ?


If the updates happens to be in the same UOW(Unit of work) then even the program A updates are also committed when Program B issues the commit.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Fri Mar 10, 2006 3:57 am    Post subject: Reply with quote

When you say, that "every program has ist's own plan" you probably mean, that every programm issues DB2 statements and therefor has it's own package?!

You cannot switch between DB2 plans during execution. If those three packages are bound to one DB2 plan, issuing a commit will influence all areas of the execution.

regards
Christian
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 -> Database 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