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: 14

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
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1238
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: 14

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: 8569
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: 6967
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 Converting a file from PD to display ... SYNCSORT 4
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
This topic is locked: you cannot edit posts or make replies. Write Character to Hexadecimal file w... COBOL Programming 8
No new posts Checking the total counts inside a re... JCL & VSAM 5
No new posts File-aid batch how to repeat a line... Compuware & Other Tools 2
Search our Forums:

Back to Top