COBOL Manual for TNS and TNS/R Programs

Compiler Directives
HP COBOL Manual for TNS and TNS/R Programs522555-006
36-13
ENV
ENV
ERRORFILE
ERRORS
Note. This directive is useful only for the COBOL85 compiler. The NMCOBOL compiler
accepts this directive with the COMMON option (the default for this compiler), reports an error
for the OLD option, and issues a warning for the LIBRARY option.
Default: ENV OLD
Placement: Must appear before any source code lines
Scope: Applies to all programs in its source file
Dependencies: None
Default: None
Placement: Either on the compiler command line or in the source file before the
Identification Division
Scope: Applies to the compilation unit
Dependencies: None
Default: ERRORS 100
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: None
COMMON
LIBRARY
OLD
ENV
VST280.vsd
ERRORFILE file-name
define-name
VST281.vsd
ERRORS error-limit
VST282.vsd