View previous topic :: View next topic |
Author |
Message |
nsantos Beginner
Joined: 23 Sep 2003 Posts: 7 Topics: 4
|
Posted: Thu Mar 09, 2006 1:21 pm Post subject: Help about Commit |
|
|
Hi,
here |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Mar 09, 2006 2:01 pm Post subject: |
|
|
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 |
|
 |
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Fri Mar 10, 2006 3:57 am Post subject: |
|
|
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 |
|
 |
|
|