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



 >> An error occurred during translation.

I suspect you are missing some PTFs - the following (your code with simpler
variable names) compiles fine for me on V5R2.

D A               s               N
D B               s               N
D C               s               N
D X               s              1a
D Y               s              1a

 /Free
           C = Not ((A And Not B) Or
                       X <> Y);
           *inlr = *on;

I have coded way more complex expressions than this and never had a problem.
Check your PTF level.  If applying all current PTFs doesn't fix it you
should always report internal compiler errors like this to IBM.

it almost certainly means that the compiler generated bad code.  This can
either just be a bug, or a failure to diagnose an error in your code and
then trying to generate code from what should have been an error scenario.

Jon Paris
Partner400

www.Partner400.com
www.RPGWorld.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-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.