|
[SNIP]
However -- a while back, Birgitta told me that this is a bad practice.
Her reasoning is that commitment control is scoped to the activation
group. So if you have commitment control active and you write to a file
that's in a different activation group, then whatever that trigger does
is not covered by the commitment control, thus screwing up the "all
these things are part of one transaction" nature of commitment control.
By contrast, if you use ACTGRP(*CALLER), the trigger will be under the
same commitment control definition as the program that fired it, which
is preferred.
As an Amazon Associate we earn from qualifying purchases.
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.