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

CICS Roll back partially - Need to retain log file


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

New User


Joined: 20 Sep 2005
Posts: 17

PostPosted: Wed Nov 16, 2016 4:30 pm
Reply with quote

Hi,

I have a situation where roll back is issued but log file shouldn't roll back.

All files are VSAM. At this moment I am thinking of coding the log file update outside of the SYNC-COMMIT block.

Any other idea ?

Thank you.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Nov 16, 2016 5:50 pm
Reply with quote

Tell the auditors what you're doing. They will be well pleased!
Back to top
View user's profile Send private message
dwijadas

New User


Joined: 20 Sep 2005
Posts: 17

PostPosted: Thu Nov 24, 2016 5:18 pm
Reply with quote

Well .. Thanks but I need idea.


The CICS program is initiated by a MQ trigger. Multiple file is needed to update. As part of the process once a result is sent out to requesting system. If the requesting system did not acknowledge the update. CICS should roll back all update.

Here roll back is fine. but the message log file should be kept as proof that request came to CICS.

Any idea ? is there any concept of SYNCPOINT/COMMIT nesting ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 24, 2016 8:13 pm
Reply with quote

Have you talked to your site CICS support group? If not, start there and see what they say. The CICS manual description of SYNCPOINT ROLLBACK states that ALL resources are rolled back together; leaving the log while rolling back everything else would seem to me to leave the system in an inconsistent state --NOT a good thing.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Nov 24, 2016 9:47 pm
Reply with quote

since you (should) know how the system operates,
application is responsible for appropriate application messaging,
which this situation clearly is.

do not forget that cics messages and logs have to do with cics behavior
and
not application decisions.
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top