Options for Setting Compiler Directives on Files

You can configure the IDE to automatically determine and set Compiler directives on the COBOL files you add to your projects. You can also perform this operation manually using the Determine Directives context menu command 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.
Restriction: This functionality does not work for projects that compile to a single output file.

You can configure how the IDE determines and sets Compiler directives from Tools > Options > Micro Focus > Directives > COBOL.

The following options are available:

Tip:
  • If Determine directives on files is enabled but no other options are checked on this page, a directives scan does not set any directives on files.
  • Click Toggle Determine Directives, Toggle Determine Directives, in the COBOL toolbar to quickly disable or enable Determine directives on files.

The following directives are available: