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



That was part of my confusion. There were two Return statements, and the second one would never fire. I knew it was wrong but I had to show it since I couldn't explain it.

In the end, I was making it way too complicated. It is working now, and its just what I wanted, all in less than 40 lines of code. This is a very long ways from RPGII.

On 6/22/2013 6:57 PM, Jerry C. Adams wrote:
I always issue RETURN *after* setting on Last Record. In the example below
LR will never be set on, thought the activation group may be reclaimed,
etc., later - but not by this program. Or have I been doing it wrong (a
*very* good possibility, mind you) all of these years?

Jerry C. Adams
IBM i Programmer/Analyst
No good deed shall go unpunished. -Dorothy Parker



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.