That's not a good solution from a performance perspective...

The FEOD(N) Jon mentions is better.

Charles

On Wed, Nov 13, 2024 at 11:47 AM Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:

Yes Jon. And I forgot to mention that also the force ratio is important,
you can also use an OVRDBF command to override the force ratio to 1 in my
case, but then I saw it was not necessary.

JS

El mié, 13 nov 2024 a las 12:37, Jon Paris (<jon.paris@xxxxxxxxxxxxxx>)
escribió:

A better way might have been to use FEOD(N) on the file after writing the
record. That ensures that it is available immediately to other processes
without a significant overhead.


Jon Paris
Jon.Paris@xxxxxxxxxxxxxx



On Nov 13, 2024, at 9:23 AM, Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:

My main experience on doing so, was that I was not seeing the
output records for some time, and it is, I believe, because of the
number
or records that are first buffered in memory before they are written
out
to
disk. When I added the IF spec with addition, I saw that records were
visible instantly. I think this is because you may need to CHAIN on any
and
that one should be readily available. Opinion, not sure, but it
worked.

JS

El mié, 13 nov 2024 a las 7:22, Alan (cfuture) Cassidy via RPG400-L (<
rpg400-l@xxxxxxxxxxxxxxxxxx>) escribió:

Yes, sometimes. Not that often but accumulating history but without
the
extra effort for system logging of file changes, is one example. Some
tables could well be best maintained that way in one program, with
purges
or "trimming" done elsewhere.

--Alan Cassidy


On 11/13/2024 8:14 AM EST Justin Taylor <jtaylor.0ab@xxxxxxxxx>
wrote:


Is there any benefit or purpose in defining an output-only F-spec as
Input
(Position 17 File Type = I) with record addition (Position 20 File
Addition
= A)?


Thanks
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.