For more on what a directives scan is see Overview of COBOL Project Properties.
You can configure the options that are set when performing a directives scan in Tools > Options > Projects and Solutions > COBOL Project Settings. The following directives are available:
When a file is examined to determine the dialect, a list of possible dialects is produced. The possible dialects are then compared with:
Files that contain EXEC CICS statements might require the CICSECM directive with potentially additional options, such as "Abend at run time". If the directive required together with its options differs from the directive set on the project, the required directive is set on the file. For details of the options see COBOL Properties.
You can also choose to set the NOCICS directive on files that don't contain CICSECM directives. The directives are then not applied at compile time, regardless of any CICS directives set on the project.
Files that contain EXEC SQL statements require specific SQL directives.
If you do not select any directives, but only check the box, no directives are set.
If any of the required directives are not set on the project, they are set on the file. If a required directive is already set on the project, it is not set on the file.
You can also choose to unset SQL directives for this file. The directives are then not applied at compile time, regardless of any SQL directives set on the project.