AFP

The AFP option controls the usage of Additional Floating Point registers. Using AFP(VOLATILE) instructs the compiler to create more efficient code for programs that use floating point operations. In addition, the Additional Floating Point Registers are known to already be preserved or unchanged by every called subprogram. As a result, the compiler will not have to generate additional code to save/restore these registers. Review your subprograms and consider using AFP(NOVOLATILE) for improved performance.

AFP(NOVOLATILE) may be used for COBOL programs running on CICS Transaction Server V4.1 and later.

  • AFP(VOLATILE) is the slowest. VOLATILE is the default setting.

  • AFP(NOVOLATILE) is the fastest.