× 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 use this to imitate the %NRF (or a %RF, as I prefer to test a
> positive) though:
>
> FileKey    CHAIN   File
>            EVAL    RcdFound = %FOUND(File)
>            DOW     RcdFound
>           (...)
> FileKey    READE   File
>            EVAL    RcdFound = %EOF(File) = *OFF
>            ENDDO
>
> Hmmm, somehow I don't think there'd be many takers for that one...
>
> Regards, Martin

Martin, this is similar to what Linoma's RPGWIZ tool does if you select the
'use I/O BIF's' option, only in reverse.  It removes the indicator from the
CHAIN, READ, etc but sets it anyway on the next line using the BIF so as not
to break the code ie:

   CHAIN     FILE          30

becomes

   CHAIN     FILE
   eval  *in30 = %found

Phil


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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.