In order generate
listing and
xref reports, run the following command in a Progress editor:
compile <ABL_sourcecode.p> save into <directory> listing <listfile> xref <xreffile>
The compile listing includes:
- The name of the file containing the procedure or class compiles
- The date and time at the start of the compilation
- The number of each line in the procedure or class file
- The block number where each statement belongs
- The complete text of all include files (except encrypted include files) and the names of any subprocedures and user‑defined functions
- The listfile or VALUE ( expression ) identifies the name of the file in which you want to store the Compiler listing.
- If expression evaluates to the Unknown value (?), then ABL ignores the LISTING option.
- In Windows, the filename cannot contain characters outside of the non-Unicode code page.
The Xref includes:
- Reference information on ABL elements,
- Cross-references between procedures and ABL objects,
- Cross-references between class or interface definition files and ABL objects.
- Indexes used. This topic is examined in more detail in Article Using XREF Within Indexes Explained
The usage of the COMPILE statement options are outlined in the ABL Documentation:
OpenEdge Development, ABL Reference, "ABL Syntax Reference", "COMPILE Statement".