× 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 recompiled a file but forgot to recompile 2 RPG III programs that WRITE
to it.  The programs that weren't recompiled still run, but it appears
no records are being WRITTEN to the file.

This has nothing to do with LvlChk(*yes).  When you open a PF for output only, 
by default the system handles the output in Blocks
instead of a record at a time.  While your program is adding records to the 
file in main storage, OS/400 doesn't immediately move
the data to disk until it is ready (either the block is full or the file is 
closed).  The effect is that if you query the file while
it is running, the newly added records probably will not show up.  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.

Hope this helps,
Seth Shields
Julius Blum, Inc.
Stanley, NC


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.