× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is fantastic, Charles.  I'm likely going to be doing an entire project enabling commitment control incrementally, so this is critical.

I didn't even know about the indicator form of the COMMIT keyword.  Thank you.


On 6/8/2018 8:36 AM, Charles Wilt wrote:
The way a trigger program is supposed to work...

The trigger program should use both the USROPN and COMMIT(myIndVar)
keywords on the f-spec. Along with ACTGRP(*CALLER) h-spec.

That way it can check the commit flag in the buffer before opening any
files the trigger will update.

Then either open the files with commitment control, or without.

Now if the trigger is fired by a process using commitment control, the
updates made by the trigger will also be rolled back.

Charles


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.