You can also perform this operation manually using the Determine Directives context menu command on project level in Solution Explorer. The IDE examines the files and then determines and sets the appropriate directives on the files if those directives are not already set at the project level.
You can configure how the IDE determines and sets Compiler directives on PL/I files from Tools > Options > Micro Focus Tools > Directives > PL/I. If you do not select any directives, but only check the Determine directives of files box, no directives are set.
The following directives are available:
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.
You can also choose to unset the EXECDLI directive on files that do not 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.
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.
Enable the Macro Preprocessor for files that contain MACRO statements. You can also choose to explicitly disable the Macro Preprocessor for files that do not contain the MACRO statement.