Specifies the format of error messages in a list file.
>>-.---.-.----.--ERRLIST-------"option"------------>< +-/-+ +-NO-+
option | A literal specifying the option required, as follows:
|
Default: | ERRLIST"EMBED" |
Phase: | Syntax check |
$SET: | No |
If FLAGQ or ERRQ is set, ERRLIST"END" is switched to ERRLIST"VERBOSE".
Mainframe compatible listings are obtained by using ERRLIST"END". Particularly with a batch compile generating a list file, use of this directive has the following effects:
Compilation completed with errors
Fatal errors cause the format to revert to ERRLIST(EMBED). These errors cause the syntax-check phase of the Compiler to terminate immediately. If ERRLIST(END) were still in force the errors would not be shown, as the end of the listing would not be reached.
If either the ERRQ or FLAGQ directives are set, then, to ensure these are actioned correctly, the Compiler will set ERRLIST(END) to ERRLIST(EMBED).