Salesforce

How to compile an ABL program with listing and xref options?

« Go Back

Information

 
TitleHow to compile an ABL program with listing and xref options?
URL Name000050514
Article Number000130124
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: Compiler
Question/Problem Description
How to compile an ABL program with listing and xref options?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
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".
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:32 AM

Powered by