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



Hi Seth -

You can force the records to disk with OVRDBF FILE(filename)
FRCRATIO(1). This will tell the system to force any output to disk immediately. The consequence is that you take a performance
hit.

If any of this is not accurate, someone please correct me.
You were doing fine until you hit the part quoted above. FRCRATIO(1) forces the data not only to be written to the file but also the file pages in memory to be written to the disk. This is a much bigger performance hit than what is needed to make the records visible in the file.

To turn off record blocking, using OVRDBF with SEQONLY(*NO), or in RPG IV you can also do it in the program with BLOCK(*NO) in the keywords part of the F-spec.

This will cause the records to be written to the file immedidately, which is a little performance hit, but not force the pages to be immediately written to disk, so it is not nearly as much of a performance hit as FRCRATIO(1).

Ken
http://www.ke9nr.net/
Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.