To compile an individual COBOL file that is part of a project:
This option is not available when a build is already in progress or when you are debugging the application.
To compile a single native COBOL file that is not part of any project:
This opens the Single File Compile page in Tools > Options > Micro Focus > Directives.
You can cancel the compile process by right-clicking in the editor and clicking Cancel Compile.
Compiling produces an .idy file that the IDE uses to provide some features in the editor such as colorization and navigation.
The recommended way to work with Visual COBOL is to include all source files in a project because this enables full support for the IDE editing, compiling and debugging features. To enable this support for single files, Visual COBOL provides a path for creating projects from them - right-click the file in the editor, and click Create COBOL Project.