IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Clarification in cics abnormal termination


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cvishu

Active User


Joined: 31 Jul 2007
Posts: 136
Location: india

PostPosted: Thu Jan 06, 2011 12:23 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jan 06, 2011 2:03 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top