Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 122
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: 992
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: 122
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: 122
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: 122
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us