Previous Topic Next topic Print topic


Setting Compiler Directives on Individual Files

You can set properties and Compiler directives that only affect individual files during compilation.

Files in your project inherit the properties set on project level. You can specify individual file properties and these override the project-wide and build configuration settings. To set file properties:

  1. In Solution Explorer, right-click the file in your project whose properties you want to change.
  2. Click Properties.
  3. Configure the file properties as required, then click OK.

To compile single native COBOL files that are not part of any project, the IDE uses the Compiler directives specified on the Single File Compile properties page in Tools > Options > Micro Focus > Directives.

To specify Compiler directives for compiling a single file in the IDE:

  1. Open the file in the editor using File > Open > File.
  2. Right-click in the editor and click Compiler Options.
  3. Ensure the Compiler directives are as required, then click OK.
Previous Topic Next topic Print topic