×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.





With the exception of display (and maybe printer) files, is 
there any good reason to use indicators anymore?

No.  There is nothing in the language that requires numbered indicators.  I
would also make the point that code such as If *IN03 = '1' has never been
needed in RPG IV.  A much better approach is to use a named constant with
the appropriate value. E.g. If *IN(ExitRequest)

Display and printer files can also make use of the INDDS keyword on the F
spec to allow the numbered indicators to be mapped to a DS containing named
indicators.


Jon Paris
Partner400

www.Partner400.com 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.