COBOL Compiler Listing Options
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Use COBOL Listing Options to select the type of listing file
produced by the compiler.
Option Result
No Listing No listing file is produced.
Source Outputs a listing of the COBOL source to a file
with the base name of the program and the
extension .LST.
Command-line directive: LIST""
Assembly Code Outputs a listing of the native assembly code
produced by the compiler to a file with the base
name of the program and the extension .GRP.
Command-line directive: ASMLIST""
Merged Lists the source line followed by the native
code for that line for each line of code in the
PROCEDURE DIVISION of the program. The listing
is output to a file with the base name of the
program and the extension .GRP.
Command-line directive: ASMLIST"" SOURCEASM
-♦-
-♦-