The
Determine Directives context menu command in Solution Explorer causes the IDE to scan the files in your project and set any required Compiler directives. You can configure this behavior from the IDE preferences.
- Click
Tools >
Options.
- Expand
Micro Focus.
- Click
Directives.
- Check
Determine directives of files.
- To determine the COBOL dialect of the files and set the COBOL DIALECT directive, check
Set the DIALECT directive on files.
The dialect directive is set only if it differs from the directive set on project level.
- 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