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



We all hate general rules, but NEVER use H1-H9 or these 'halt indicators'. 
 They generate a message to the user and it's not a friendly message.

I don't believe that anyone I know of has ever seen or used a RT 
indicator.  I would assume it does the same thing as a RETURN.  So, just 
RETURN.  Perhaps at some stage in RPG's dark past the RETURN code was not 
available.  I suppose we could shoot the first person that wrote:
FMyFile...                             USROPN
C                OPEN  MyFile                                  RT
But that might be a use for it.

Return does leave files open etc, (if lr is not on).  This may be a good 
thing if you plan on calling the program multiple times in the same job 
stream.  In that case you will have better performance.  When you want to 
truly die you can call it again and when some unique condition exists 
(determined by you) it can set on LR prior to executing the return and 
then it will close files, etc.  Or you can stick it in it's own activation 
group and then shutdown that activation group.  Or you can simply exit the 
job entirely.


Rob Berendt

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.