No it won't, Scott.

*In97 in the off state says RECORD FOUND IN FILE1
*In96 in the off state says RECORD FOUND IN FILE2

Therefore, the test says

If RECORD FOUND IN FILE1
or RECORD FOUND IN FILE2
   Do


Gary Guthrie
Senior Technical Editor, iSeries NEWS


Scott Mildenberger wrote:
>
> That code will exit the loop when either file reaches end of file because of
> the OREQ.



> > *IN97   DOWEQ *OFF
> >
> > *IN96  OREQ    *OFF
> >
> >                 |
> >
> >                 |
> >
> >           ENDDO


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