You can configure the directives scan feature in the IDE and specify what Compiler directives it can set.
- Click
Tools >
Options.
- Expand
Projects and Solutions.
- Click
COBOL Project Settings.
- To determine the COBOL dialect of the files and set the DIALECT directive, check
Set the DIALECT directive on files.
The dialect directive is set only if it differs from the directive set for the project.
- Check
Set CICSECM directive on files containing EXEC CICS, if required.
The CICSECM() directive is set on files that contain an EXEC CICS statement.
- Check
Set NOCICS directive on files that do not contain EXEC CICS, if required.
When this directive is set on a file, it overrides any CICSECM directive set on the project.
- Check
Set SQL directives on files containing EXEC SQL, if required.
Click
and choose the SQL directives to set if they occur in the file.
Note: You must select the directives you require, as well as check the box or no directives are set on the files.
- Check
Unset SQL directives on files that do not contain EXEC SQL, if required.
When SQL directives are unset on a file, they override any SQL setting on the project.
Tip:
- The status bar identifies the file currently being scanned for directives
- The output window shows the directives being set on each file
- To interrupt and stop setting directives, click
Project > Cancel file scanning