COMPERR parameter

From m204wiki
Revision as of 16:25, 27 August 2013 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Compiler error reporting options

Summary

Default value
X'04'
Parameter type
User
Where set
In CCAIN User 0 parameters
Related products
All
Introduced
Model 204 V7.4

Description

You can choose the volume of compiler errors you want returned to you and how you want them displayed, so you can locate the problem more easily.

The following table shows the effect on compilation error messages when the corresponding COMPERR bit is on:

BitEffect
X'01'The echo of the line in error has << and >> characters around the token which is at or near the error.
X'02'The echo of the line in error is followed by a line containing hyphens (---) beneath the token which is at or near the error.
X'04'Allow the compiler to continue processing a line even after an error has been detected in it. If this bit is not set, only the first error is displayed for any line.

Mutliple error messages for a single line are most often "noise" caused by cascading errors, so suppressing multiple error messages (that is, not setting X'04') may make it easier for you to identify the errors in the SOUL request.