Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What CICS SYNCPOINT ROLLBACK does

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Tue Jan 19, 2010 11:49 am    Post subject: What CICS SYNCPOINT ROLLBACK does
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

Active Member


Joined: 08 May 2006
Posts: 998
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jan 19, 2010 1:54 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jan 19, 2010 8:31 pm    Post subject:
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: 125
Location: India

PostPosted: Wed Jan 20, 2010 9:45 am    Post subject:
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: 125
Location: India

PostPosted: Wed Jan 20, 2010 10:03 am    Post subject:
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: 125
Location: India

PostPosted: Wed Jan 20, 2010 12:11 pm    Post subject:
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

Site Director


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

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

Hello,

Start here (available via the IBM Manuals link at the top of the page):
http://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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us