Extracting LE compile unit information

Specifying the FULLIDR keyword on a SCANPGM request will also allow the Inquisitor to extract information about LE compile units. Such information is stored within the program object code when a program is compiled by an LE-family compiler such as current COBOL and PL/I compilers.

The data that can be tracked for each compile unit within a scanned program includes:
  • The compile date.
  • The compiler level.
  • The ARCH (architecture level) setting.
  • The OPT (optimization level) setting.
  • The DATA DIVISION statement count (for COBOL only).
  • The PROCEDURE DIVISION statement count (for COBOL only).

Because of the additional resource consumption of a SCANPGM FULLIDR request over the usual SCANDIR request, it is not anticipated that a full system scan would be performed to collect this data, but rather a scan targeted to relevant application program libraries. The data from this limited scan would be used to form a purpose-built repository where data base queries can be used to extract information of interest.

When the time comes to update the system’s LE compile application status, the repository would be deleted and recreated from a new targeted scan. To ascertain usage history data for these application programs, relevant queries would be directed to the main system repository where the usage data is imported.