× 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.



I've only been in my current shop for a year. It's not unusual for me to
find some questionable coding techniques, but some just baffle the hell out
of me.

Case in point: I'm looking at a batch program that strictly writes to a
table. No input, no update. But the file definition appears as:
FAUDITLOG UF A E K DISK

This appeared on our radar because we're in the process of turning on
journaling for DR. Performance was acceptable prior to journaling, but
afterwards, it added 80 minutes to the batch job that runs it. (FWIW, the
file has no unique keys, nor do any of its logicals. Also, when this job
runs, no other job or program is touching this file.) The above definition
forces a write to storage after every single output operation. If I change
it to
FAUDITLOG O E DISK
... the system blocks 23 records by default. A journal performance redbook
suggested blocking within a 128k byte length, which blocks 736 records.
Both of which *significantly* improve performance.

So, my question here: Is there any legitimate reason that I'm missing why
you would want to force a write to storage for every single output
operation? The person who wrote the program is no longer here, which may
itself be a clue.

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.