3. Embedded QUEL for COBOL : Precompiling, Compiling, and Linking an EQUEL Program : Including Source Code with Labels
 
Share this page                  
Including Source Code with Labels
Some EQUEL statements generate labels in the output code. If you include a file containing such statements, you must be careful to include the file only once in a given COBOL scope. Otherwise, you may find that the compiler later issues COBOL warning or error messages to the effect that the generated labels are defined more than once in that scope.
The statements that generate labels are the retrieve statement and all the EQUEL/FORMS block-type statements, such as display and unloadtable.