At 12:53 01/24/1999 -0600, Julie wrote:
>Hi everyone....
>I was working on an RPG/400 interactive program that uses two keyed
>logicals, one update,  from the same PF,  all update(*immed), RISC
>system, no EOFDLY (if it makes a difference?) .  I was told by another
>programmer that because the RISC system is so fast that the program
>could write to the file and not get a read within the same pgm because
>the buffer has not been cleared and that a FEOD will prevent this.  Does
>this make sense to anyone???  P.S.  I did RTFM.      Thanks....   Julie

It's happened to me, and it had nothing to do with the system being fast,
because it wasn't. Particularly if you open the file for output only, this
can happen, because the system will automatically buffer the output, but
even if you open the file for update, it can still be a problem, because
physical disk writes can occur asynchronously. You can get around this by
using FEOD in the program, or issuing an override to force a physical write
each time a record is written (FRCRATIO I think).
Pete Hall
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to
| To subscribe to this list send email to
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].