Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
Susanta

New User


Joined: 17 Nov 2009
Posts: 27
Location: West Bengal

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
References
Garry Carroll

Active User


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

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

Global Moderator


Joined: 23 Nov 2006
Posts: 13524
Location: 221 B Baker St

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

New User


Joined: 17 Nov 2009
Posts: 27
Location: West Bengal

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

New User


Joined: 17 Nov 2009
Posts: 27
Location: West Bengal

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

New User


Joined: 17 Nov 2009
Posts: 27
Location: West Bengal

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

Global Moderator


Joined: 23 Nov 2006
Posts: 13524
Location: 221 B Baker St

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1