× 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 could know what the data was with Look Ahead though...IIRC.

On Nov 7, 2007 1:52 PM, Joep Beckeringh <joep@xxxxxxxxxxxxxxxxxxx> wrote:
Booth,

It's the cycle: it reads records from the primary and all secondary
files, evaluates which one is the next to be processed and then moves
the data from that record to the program fields. So if *IN01 and *INMR
are on, you have the data from the primary file and you know there's a
matching record in a secondary file, but you don't have that data yet.

Joep Beckeringh


Booth Martin schreef:
hmmm... I don't read the manual well enough sometimes, but I believe
that the MR indicator, and the file processing, is such that the next
02 is always there, and known. Otherwise there would be no way for the
program to know which record to grab next. In other words, when MR is
on, then 01 and 02 are also on. If there is one 01 record and 5 matching
02 records, then MR will stay on while all six records are processed. If
MR is off then we know we have a widow or an orphan.

Then again I could be wrong as heck. :)

--
This is the RPG programming on the AS400 / iSeries (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.



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.