The Natural Optimizer Compiler is particularly effective for programs that contain a considerable amount of data manipulation, such as computation, transfer, and logical condition processing.
This section contains an overview of the statements which are compiled to machine code and those which are not compiled.
The options the Natural Optimizer Compiler provides cannot be used for specifying statements to be optimized as described in the Optimizer Options.
The Natural Optimizer Compiler compiles the following statements to machine code:
EXAMINE, with the following
constant values only; that is
EXAMINE #TEXT FOR #A GIVING NUMBER #NMB1 EXAMINE #TEXT FOR #A GIVING POSITION #POSEX5 EXAMINE #TEXT FOR #A GIVING LENGTH #LGHEX6
is not optimized.
operand4 can be fix array occurences;
that is, no ranges are admissible, for example:
EXAMINE #A(#J) FOR #B(#K)
The Natural Optimizer Compiler does not compile the following statements:
I/O statements (
WRITE WORK FILE).
complex special statements such as
statements that pass control to another object such as
statements that perform database access (