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



Per Asher's earliest suggestion, we plan to try (tomorrow) the new logical
or ovrdbf 2nd copy of primary. Seems to me that we have the correct key fields
to chain & update with, as they are printing correctly at total time.
We'll just be sure to prefix all the fields on the new field spec with UPD or some such.
Thanks.

Asher613Smith@xxxxxxx wrote:
The logic for what and when to write to the work file is identitcal to what and when to update to the logical or 2nd copy of the primary file, no? And then you still have to write a new program to read the work file and chain to the primary file to do the updates. Or am I missing something?
In a message dated 4/24/2009 1:31:51 A.M. Jerusalem Daylight Time, booth@xxxxxxxxxxxx writes:

Just a small comment: This is already a bad enough program, right? The less you add to it, the better. Would you consider just adding a work file and input the data into it, and then after this monster runs, runs another single-purpose program to update the fields based on the data captured by the monster?

.
Robert Nesiba wrote:
Probably the infDS, in lieu of look-ahead, might work
but our program has a bunch of total time L1 calculations,
and I don't want to make any major changes to the overall
program logic.
We're probably going to have to leave our primary file as input,
and then add another file spec for update, either updating a new logical file
or using OVRDBF to point to the same file. Any reason that won't work?
Thanks.

-- ---------------------------------
Booth Martin
http://www.Martinvt.com
---------------------------------

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



**************Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003)


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.