How to determine the location of the first statement of program compiled with Enterprise COBOL for z/OS, V5.1 ?

Technote (FAQ)

Question

How to determine the location of the first statement of a program compiled with Enterprise COBOL for z/OS, V5.1 ?

Answer

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).