Setting options for real-time syntax checking
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.
- Click Window (on Windows) or IBM Developer for z Systems (on macOS) > .
- Choose JCL > Real-Time-Syntax Checking to set preferences for the JCL Editor.
- To enable real-time syntax warnings to identify programming errors while you edit, select the Enable real-time syntax warnings check box.
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 unit field.
The maximum includes the file content and referenced copybook or include members.
- To validate the data set names that are referenced in JCL files, select Source > Validate JCL or press Alt+V in the JCL Editor.
- To disable the syntax parser, click the Disable syntax parser check box.
- COBOL 6.2 adds conditional compiler statements. If those statements are inside copybooks, you need to load copybooks synchronously. To load Copybooks synchronously, click the Load Copybooks synchronously check box.
- Click Apply to save your changes.