The editor performs real-time syntax checking and provides annotations
that describe the errors. If an error is found, a warning icon (
) is displayed. To see the annotation
that describes the error, hover your mouse over the icon. The maximum
number of errors that are reported is based on the value that is specified
for the Maximum number of problems reported per compilation editor
preference. The maximum includes the file content and referenced copybook
members.
You can customize the appearance of the annotation. The default
appearance is a yellow squiggly line under the detected error. To
customize, click . Then, select
Warnings in the annotation types list.
Change the appearance by selecting values under Show in.
For example, to highlight the error, check the Text as box
and select Highlighted from the menu. Use the Color field
to define the highlight color.
To turn off real-time syntax checking, select Disable syntax parser on the Real-Time Syntax Checking preference page. To enable or disable SQL annotations, use the EXEC SQL statements preference page.
The following example shows the annotation for a syntax error.


The following example shows a missing COPYBOOK. The appearance for this annotation is the default appearance.
