OPTIMIZE compiler option

In the OS/390® V1R2, V1R3, V2R4, and V2R5 C/C++ compilers:
  • OPT(0) mapped to NOOPT
  • OPT and OPT(1) mapped to OPT(1)
  • OPT(2) mapped to OPT(2)
As of OS/390 V2R6 C/C++:
  • OPT(0) maps to NOOPT
  • OPT, OPT(1) and OPT(2) map to OPT(2)

As of z/OS® V1R5 C/C++, OPT(3) provides the compiler's highest and most aggressive level of optimization. OPT(3) is recommended only when the desire for runtime improvement outweighs the concern for minimizing compilation resources.