COBOL - Opções de compilação - LIST


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

Opções de compilação - LIST

Use the LIST compiler option to produce a listing of the assembler-language expansion of your source code.

LIST option syntax

Default is: NOLIST

Abbreviations are: None

These items will also be written to the output listing:

  • Global tables
  • Literal pools
  • Information about WORKING-STORAGE and LOCAL-STORAGE
  • Size of the program's WORKING-STORAGE and LOCAL-STORAGE and its location in the object code if the program is compiled with the NORENT option

The output is generated if:

  • You specify the COMPILE option, or the NOCOMPILE(x) option is in effect and an error of level x or higher does not occur.
  • You do not specify the OFFSET option.

If you want to limit the assembler listing output, use *CONTROL (or *CBL) LIST or NOLIST statements in the PROCEDURE DIVISION.
Source statements that follow a *CONTROL NOLIST statement are not included in the listing until a subsequent *CONTROL LIST statement switches the output back to normal LIST format.


© Copyright IBM Corp.