You can set preferences that control whether the editor
checks syntax while you edit a file. Warning annotations assist with
making corrections to identified errors. Disabling the syntax parser
causes any tooling that is dependent on it to be disabled. The maximum
number of problems that are reported is 200.
Procedure
- Click .
- Choose one of these preference categories:
| Option |
Description |
|
Sets preferences for the COBOL Editor and the System z® LPEX Editor open on COBOL files |
|
Sets preferences for the JCL Editor |
|
Sets preferences for the PL/I Editor and the System z LPEX Editor open on PL/I files |
- To enable real-time syntax warnings to identify programming
errors while you edit, select the Enable real-time syntax
warnings check box.
- To enable real-time syntax warnings in copybooks or include
files, select one of these check boxes:
- For COBOL: Enable real-time syntax warnings for
copybooks
- For PL/I: Enable real-time syntax warnings for
include files
If the Enable real-time syntax warnings check
box is cleared, this option is disabled. When you
select this option, copybooks and include files are parsed for basic
syntax legality when they are opened in the System z LPEX Editor, COBOL Editor, or PL/I
Editor. Illegal syntax is flagged with a warning. References to data
items are not checked for validity, because they might refer to items
defined in other source files.
- If real-time syntax warnings are enabled, you can specify
the maximum number of errors that are reported during an edit session.
Specify an integer 1 - 200 for the Maximum number of problems
reported per compilation field.
COBOL files: To receive notification
of deprecated COBOL 5.1 syntax, enable Validate against
compiler version and specify the level of notification
on the Obsolete Syntax field.
COBOL files: To receive notification
when an EXEC statement or END-EXEC statement
begins to the left of area B, set EXEC must begin in Area
B or END-EXEC must begin in Area B to Warning.
- To disable the syntax parser, click the Disable
syntax parser check box.
- Click Apply to save your changes.