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



You're not updating a key field you're using to read are you?

Charles

On Mon, Oct 2, 2017 at 1:13 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

I've got a main file that has been expanded to include certain fields that
were once relegated to a (now obsolete) auxiliary file. The relevant fields
have the same names in both files.

I've got a program that opens both files as full-procedural, and goes
through the main file, populating the fields in the main file from the
auxiliary file. It goes through the records of the main file, and for each
one, it attempts to read the auxiliary record, then (after doing a few
other things, involving populating certain fields with calculated values)
updates the main record.

The mere act of doing this with scatter-gather I/O *should* update the
fields common to the two files. And for the overwhelming majority of
records, it does.

Somehow, a relative handful of records get missed. The same ones,
consistently. They get the calculated values, but the common fields aren't
getting updated.

I've run it in the debugger, and it's not skipping any code.

Any idea why this would happen?

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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.