Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

RESEXP

The RESEXP option specifies that the compiler is permitted to evaluate all restricted expressions at compile time even if this would cause a condition to be raised and the compilation to end with S-level messages.

Read syntax diagramSkip visual syntax diagram   .-RESEXP---.
>>-+-NORESEXP-+------------------------------------------------><
 

Under the NORESEXP compiler option, the compiler will still evaluate all restricted expression occurring in declarations, including those in INITIAL value clauses.

For example, under the NORESEXP option, the compiler would not flag the following statement (and the ZERODIVIDE exception would be raised at run-time)

 if preconditions_not_met then
    x = 1 / 0;

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)