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:
- In Solution Explorer, right-click the file in your project whose properties you want to change.
- Click
Properties.
- 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:
- Open the file in the editor using
File > Open > File.
- Right-click in the editor and click
Compiler Options.
- Ensure the Compiler directives are as required, then click
OK.