×

Good News Everybody!

The new search engine is LIVE!

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




No.  What that code is actually saying is, "Define my variable AFLD to be just 
like the variable *INLR", which means to make AFLD an indicator.  You would get 
the exact same results with:
*LIKE      DEFN *IN01        AFLD

As *IN01 is also an indicator.

If your intent was to make the program end when AFLD was set *ON, then you 
would want to make AFLD based on *INLR using a based pointer.

-----Original Message-----
From: Accent Smith [mailto:accentconsultinginc@yahoo.com]

I have a question about the following code:

*LIKE      DEFN *INLR        AFLD

In the program code, if 'Y' is moved to AFLD, will the RPG/400 program end?


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.