×
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.
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.
But (b) will be faster if you do a lot of triggers in between returning
to the menu. (a) will be faster if you only do a few triggers in
between ending the activation group, since it doesn't have to do a full
close on the file, but on the other hand, doesn't block the output...
BLOCK(*NO) is extremely easy to code. You might just try it and see if
it performs respectably.
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.