For COBOL 5.1 and later, the following bit is set in the PPA2 for compiled modules that were
optimized by ABO: Figure 1. Bit 12 in
compilation flags (PPA2 control level = 3, PPA2+0x14)
'........ ....0... ........ ........'B Indicates that program is not optimized by ABO
'........ ....1... ........ ........'B Indicates that program is optimized by ABO
Therefore, whether a compiled program (CSECT) was optimized by ABO, can be found by the
following pseudo programming logic:
If (PPA4 version (Bits 16-23 in PPA4 offset X'04') is 3)
Then : COBOL 4.2 or earlier program is optimized by ABO
Else If ('Member Identifier’ (Bits 0-7 in PPA2 offset X'00) is 4) and
(bit 12 in 'Compilation flags' (PPA2 offset X'14') is 1)
Then : COBOL 5.1 or later program is optimized by ABO
Else
Then : The program is not optimized by ABO