|
Several years ago I implemented a read trigger that is applied to certain
files. Specifically, those files where any fields contain data covered by
legislative constraints.
The regulations mandate an entry in a log whenever the data is accessed,
primarily as a record of the user and the reason for access.
The read trigger is designed to perform as efficiently as possible despite
being called frequently, e.g. when a large file is read from start to end,
and was implemented without any significant degradation on system
performance.
However, there are times when large batch jobs may be exempt from the
regulations. As there was no known way to dynamically prevent a trigger
from firing, the trigger is designed to abort immediately where there is an
exemption.
I would be interested to know if, at V7R1 there may now be a way to
essentially override a trigger during a specific application while at the
same time remaining operative for other applications.
Peter
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.