View previous topic :: View next topic
|
Author |
Message |
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Hi,
Suppose in a program few records have been inserted/updated and commit has not been issued. I would like to know what happens when the program encounters S0C4, S0C7 or other abend. Does a rollback happens or not.
As per my understanding if we don't issue an explicit commit in the program the commit will happen only after successful execution of the program and any abend will make the transactions rolled back as the program is terminated abnormally.
Please confirm if my understanding is correct or not. |
|
Back to top |
|
|
rpuhlman
New User
Joined: 11 Jun 2007 Posts: 80 Location: Columbus, Ohio
|
|
|
|
Hi Dinesh,
Your understanding is correct.
Rick |
|
Back to top |
|
|
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Thank you Rick |
|
Back to top |
|
|
|