× 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 am trying to optimize a batch program that must read through two
copies of a file, and compare the records to update one copy with
differences.  Both files are declared as Input, keyed access, i.e.

     FDFamly    IF   E           K Disk
     FFamly     IF   E           K Disk

I am trying to override the default read block size of 4k to the
maximum of 128k.  As I understand it, if 204 records will fit in 128k,
you can do an OVRDBF command, as such:

RC=system('OVRDBF FILE(FAMLY)  SEQONLY(*YES 204)');

So I have to specify SEQONLY(*YES) to set the buffer size.  Will the
records still be read in keyed order?  I know that if I read in keyed
order, some buffering happens, so if not with the OVRDBF command, how
can I set the blocking size to the maximum?


-- 
"Enter any 11-digit prime number to continue..."

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.