|
Adam Glauser wrote:
What I'm looking for is recommendations on whether or not FRCRATIO, FEOD, or neither are the way to go in this situation. I don't know enough about write buffering to know whether it could cause performance problems in the given situation, say when a lot of people end their interactive jobs at shift change time.
I definitely wouldn't use FRCRATIO. Instead, I'd do one of two things:
a) Code BLOCK(*NO) on the F-spec.
b) Run the trigger in a named activation group. Then reclaim the activation group when the user returns to the menu (or some other opportune time).
Or, if you absolutely must use FEOD (though I can't see why you'd do that in a trigger where you're dealing with one record at a time) then you'd be better with FEOD(N), instead of a straight FEOD.
The disadvantage to (b) is that running in a named activation group can get confusing with commitment control, since your trigger wouldn't necessarily be within the same commit definition as the program doing the actual updates. So writes to your log file wouldn't get rolled back a the same time as writes to the actual file, which can be sloppy.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.