How to determine the location of the first statement of a program compiled with Enterprise COBOL for z/OS, V5.1 ?
Available at PTF UK96988 and above, PPA3 in the listing describes the offsets from the start of the code to the code generated for the first user statement of the COBOL program. Each PPA3 section now includes 3 entries in the following order:
1. Offset to the Base Locator Table relative to the PPA3 offset (Base_Locator_Table).
2. Offset to the Special Register Table relative to the PPA3 offset (Special_Register_Table).
3. Offset to the first user statement relative to the entry point of the program (User_Entry).
Here is an example of PPA3 table:
PPA3: Entry Point Constants
0014D8 00000000 =F'0' Flags
0014DC 000000C0 =F'192' A(Base_Locator_Table-PPA3)
0014E0 000000D8 =F'216' A(Special_Register_Table-PPA3)
0014E0 00000184 =X'184' A(User_Entry-CUEntry)