Rational Developer for System z

Real-time syntax checking of COBOL files

The System z® LPEX Editor and the COBOL Editor automatically validate the syntax of COBOL code and embedded CICS® and SQL statements.

The editor performs real-time syntax checking and provides annotations describing the errors. If an error is found, a warning icon (exclamation mark in yellow triangle) is displayed. To see the annotation describing the error, hover your mouse over the icon. The maximum number of errors reported is 200.

You can customize the appearance of text containing syntax errors. For example, instead of a yellow squiggly line under a warning you can display syntax errors with red highlighting or a green dashed box. To customize, open the Annotation preference page and select exclamation mark in yellow triangle Warnings in the list.

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 System z LPEX Editor and the COBOL Editor check for the following kinds of errors in COBOL source files:

Feedback