COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-130
SYMBOLS and NOSYMBOLS
SYMBOLS and NOSYMBOLS
SYMBOLS
includes a symbol table in the object file used by a symbolic debugger.
NOSYMBOLS
excludes the symbol table from the object file used by a symbolic debugger.
You can include or exclude the symbol table from the object file on a program-unit-by-
program-unit basis.
If the SYMBOLS directive is active, the compiler does not perform certain object code
optimizations, so the object program might execute slightly more slowly and be slightly
larger in size.
Default: NOSYMBOLS
Placement: Accepted anywhere, but to affect a program other than the first program
in a compilation unit, SYMBOLS must follow either an ENDUNIT
directive or an END PROGRAM statement, which signals the end of the
preceding program’s Procedure Division.
If you want a symbol table for a given separately compiled program, put
SYMBOLS before its Identification Division header. If the compiler
encounters a subsequent SYMBOLS or NOSYMBOLS directive within
the text of that separately compiled program, it issues a warning and
ignores that directive.
Scope: Applies until its opposite overrides it
Dependencies: SYMBOLS does not work when SYNTAX is active.
References:
•
ENDUNIT
•
SYNTAX
SYMBOLS
NOSYMBOLS
VST325.vsd