COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-48
Categories of Compiler Directives
Table 11-14. Listing Control Directives
Directive(s) Default Action
CODE and NOCODE
1
NOCODE Enables or suppresses octal code listing
CROSSREF and
NOCROSSREF
1
NOCROSSREF Enables or suppresses cross-reference
listing of identifiers
DIAGNOSE-74 and
NODIAGNOSE-74
NODIAGNOSE-74 Enables or suppresses warnings about
statements that might behave differently
for HP COBOL and COBOL 74
DIAGNOSE-85 and
NODIAGNOSE-85
2
NODIAGNOSE-85 Enables or suppresses warnings about
source constructs that might behave
differently for COBOL85 compiler and
NMCOBOL compiler
DIAGNOSEALL and
NODIAGNOSEALL
NODIAGNOSEALL Enables or suppresses warnings for
multiple references to undefined identifiers
(instead of the first one only)
FIPS and NOFIPS
NOFIPS Enables or suppresses identification of
statements as required by the Federal
Information Processing Standard (FIPS)
FMAP
2
Enables listing of source file map with fully
qualified name and timestamp for IN file
and every SOURCE and COPY file
HEADING
Specifies page heading text.
IICODE and
NOICODE
1
NOICODE Enables or suppresses mnemonic code
listing after source program listing
INNERLIST and
NOINNERLIST
2
NOINNERLIST Enables or suppresses mnemonic code
listing after each source program
statement
LINES
Specifies lines per page
LIST and NOLIST
NOLIST Enables or suppresses compiler listing
LMAP and NOLMAP
1
LMAP Enables or suppresses load map of object
file
MAP and NOMAP
NOMAP Enables or suppresses symbol map
SHOWCOPY and
NOSHOWCOPY
2
SHOWCOPY Enables or suppresses listing of COPY
statements as comments
SUBSET
Enables or suppresses flags on extensions
or obsolete elements
SUPPRESS and
NOSUPPRESS
NOSUPPRESS Suppresses or enables all but leader,
diagnostics, and trailer text in compiler
listing
WARN and NOWARN
WARN Enables or suppresses warnings
1. The NMCOBOL compiler ignores and issues warnings for these directives.
2. The COBOL85 compiler reports errors for these directives.