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: 118
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: 991
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: 118
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: 118
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: 118
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 CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


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