|
Bill wrote:
>
> Is there a free format equivalent to the following?
>
> /End-Free
> CLR Exsr srLRRtn
> /Free
>
If you're using the RPG cycle, then you can code like this. Simply
coding IF *INLR in your detail calcs won't work if your total calcs are
being run by reaching LR-on in your primary file.
C EXSR DETAIL
CLR EXSR TOTAL
/free
begsr detail;
endsr;
begsr total;
if *inlr;
exsr srLRRtn;
endif;
endsr;
As an Amazon Associate we earn from qualifying purchases.
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.