Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS Roll back partially - Need to retain log file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS Roll back partially - Need to retain log file
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: 1178
Location: Vilnius, Lithuania

PostPosted: Wed Nov 16, 2016 5:50 pm    Post subject:
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    Post subject:
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: 8526
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 24, 2016 8:13 pm    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Thu Nov 24, 2016 9:47 pm    Post subject:
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    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 trigger enter key automatically call ... Ziko13 CICS 1 Fri Apr 03, 2020 2:53 pm
No new posts Add the name in the PS file and creat... dharmaraok DFSORT/ICETOOL 9 Wed Apr 01, 2020 10:43 am
No new posts DFSORT Output file order query A_programmers DFSORT/ICETOOL 1 Thu Mar 26, 2020 11:59 pm
No new posts Error Creating KSDS file, REASON CODE... sandeep prajapati JCL & VSAM 8 Tue Mar 24, 2020 12:05 pm
No new posts Can I use EXEC CICS START instead of ... smenjoge CICS 1 Sat Mar 21, 2020 1:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us