View previous topic :: View next topic
|
Author |
Message |
cvishu
Active User
Joined: 31 Jul 2007 Posts: 136 Location: india
|
|
|
|
Hi
I am devoloping a cics web service. Could any one please explain me if there is any difference between a abnormal - program termination and task termination ?
My concern is , i am not sure if i should be using syncpoint rollback or not , as i was assuming that if the program point all my db2 queries that were executed till that point will be automatically rolled back.
Please advice. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Abnormal termination of a task will result in implicit (automatic) rollback of any uncommitted updates.
Where a task terminates normally, an implicit (automatic) syncpoint will commit any uncommitted updates.
It would, of course, be preferable to explicitly issue EXEC CICS SYNCPOINT at the appropriate place rather than use implicit syncpoint.
Garry. |
|
Back to top |
|
|
|