For more on how the IDE determines and sets Compiler directives automatically see Overview of COBOL Project Properties.
You can configure how the IDE determines and sets Compiler directives from Tools > Options > Micro Focus > Directives > COBOL.
The Determine directives on files checkbox must be enabled in order for the settings to be applied. You can quickly disable or enable Determine directives on files by clicking the Toggle Determine Directives button in the COBOL toolbar.
If you do not select any directives, but only check the Determine directives on files box, no directives are set.
The following directives are available:
When the IDE performs a directive determination, it finds all possible dialects for the COBOL program and sets the dialect directive on the file if the dialect setting on project level is not one of them. The most likely dialect is chosen and the respective directive is set on the file.
The IDE determines and sets SQL directives at file level if the files contain EXEC SQL statements and if the directive is not set at the project level.
You can also choose to unset SQL directives for this file. The IDE sets NOSQL on the files that do not include EXEC SQL statements and SQL is set at the project level. The directives are then not applied at compile time, regardless of any SQL directives set on the project.
Files that contain EXEC DLI statements might require the EXECDLI directive. 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 unset the EXECDLI directive on files that don't contain EXEC DLI statements when DLI directives are enabled at the project level. The directives are then not applied at compile time, regardless of any EXEC DLI directives set on the project.
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 when CICSECM is set at the project level. The directives are then not applied at compile time, regardless of any CICS directives set on the project.
Sets the Assembler CICS directive on Assembler source files that include EXEC CICS statements.