COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
file-name
is the name of the error-logging file. It must be a disk file name.
define-name
is the name of a MAP DEFINE that refers to a disk file. The compiler uses this file as the
error-logging file.
NoneDefault:
Either on the compiler command line or in the source file before the Identification Division.Placement:
Applies to the compilation unitScope:
NoneDependencies:
If the specified file does not already exist, the compiler creates an entry-sequenced file using the
specified file name and the file code 106.
If the specified file is an existing error file identified by file code 106, the compiler replaces the
contents of the existing file with the new error file.
If the specified file is an existing file but is not an error file, the compiler terminates compilation
and displays the message
ERRORFILE not created
The error file contains one record for each error or warning message that the compiler found during
compilation. Each error record contains this information:
• The fully qualified, local file name of the file in which the compiler found the error or warning
If you specified a DEFINE name for the name of the source file, the name of the file to which
the DEFINE evaluated appears in this entry.
• The EDIT line number in which the error or warning occurred
• The column number in the line where the compiler detected the error or warning
• The error or warning message text
ERRORS
ERRORS sets the maximum number of severe errors allowed during compilation. If this limit is
exceeded, the compilation terminates.
error-limit
is an integer in the range 0 through 32767.
ERRORS 100Default:
AnywherePlacement:
Applies to the compilation unitScope:
NoneDependencies:
550 Program Compilation










