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

What CICS SYNCPOINT ROLLBACK does


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

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Tue Jan 19, 2010 11:49 am
Reply with quote

In online programs, why we perform an
EXEC CICS SYNCPOINT ROLLBACK END-EXEC, for unsuccessful sqls?

Is it possible to replace it by EXEC SQL ROLLBACK END-EXEC,

Please guide what CICS SYNCPOINT ROLLBACK does?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


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

PostPosted: Tue Jan 19, 2010 1:54 pm
Reply with quote

Quote:
In online programs, why we perform an
EXEC CICS SYNCPOINT ROLLBACK END-EXEC, for unsuccessful sqls?

EXEC SQL ROLLBACK will only rollback the database work done. Any other updates performed by CICS in the unit of work will not be rolled back.

EXEC CICS SYNCPOINT (ROLLBACK) performs a two-phase COMMIT (ROLLBACK) of all resources affected by the CICS unit-of-work.

Quote:
Is it possible to replace it by EXEC SQL ROLLBACK END-EXEC,

No, not if you value the integrity of your data.

Garry.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jan 19, 2010 8:31 pm
Reply with quote

Hello,

Quote:
Is it possible to replace it by EXEC SQL ROLLBACK END-EXEC,
Why do you believe this might be possible?
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Wed Jan 20, 2010 9:45 am
Reply with quote

Quote:
Any other updates performed by CICS in the unit of work will not be rolled back.


What are the possible CICS updates? Are they like file updates, TSQ, TDQs,resource definitions , Please mention other things.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Wed Jan 20, 2010 10:03 am
Reply with quote

Dick

I understand that it is not possible to use EXEC SQL ROLLBACK, actually i am sure what are the CICS rolback does other than rolling back 'DB2 updation'.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Wed Jan 20, 2010 12:11 pm
Reply with quote

Quote:
actually i am sure what are the CICS rolback does other than rolling back 'DB2 updation'.

read as:
actually i am not sure what are the CICS rolback does other than rolling back 'DB2 updation'.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jan 21, 2010 5:08 am
Reply with quote

Hello,

Start here (available via the IBM Manuals link at the top of the page):
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/dfhp4c00/1.266

If you want even more info, use the CICS Recovery and Restart Guide for your level of CICS.
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 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
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top