Error Messages

Each error message produced by a preprocessor must be one line long and must include the source file and line number, as in the following examples:

"myprogram.cbl, line 31: Include file not found at END-EXEC."
"myprogram.cbl, line 31: parse error at END-EXEC."

The comma following the source file name, the word line, and the colon following the line number are required. They are used by the compiler and other software to parse the error message.

Error messages produced by preprocessors other than the first one invoked must use special means to identify the original source file and line that contained the erroneous code. See Line and File Directives for more information.

You should abbreviate the source file specification if it is too long to be read easily.