|
Another choice is to use %found(filename). By adding the file name in parenthesis you get the same effect as using a named indicator. Very neat function that was added. It works with %eof too. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 11/20/2003 9:28:11 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: %EQUAL in a DOU loop Hi Bob - ... it would break programs that use a %FOUND condition from a CHAIN/SETLL/LOOKUP after some intervening READxx operation. I don't do that, I eval the %FOUND status into a named indicator... Ken http://www.ke9nr.net/
As an Amazon Associate we earn from qualifying purchases.
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.