You use a project's properties, the project build configuration properties, or a folder's or file's properties to control the build behavior of projects. You access these by choosing Properties on the context menu for projects, folders and files. This is how setting these properties works:
You can set SQL and CICS preprocessor directives at the project level, even when the project settings are not configured to run the preprocessors. The use of the preprocessors can then be turned on at the file level, which inherits the project level preprocessor directives. This enables you to use the project level as a template for file-level settings.
When COBOL sources are copied into a project from outside the workspace, by default, a process known as directives determination is performed automatically. The IDE detects and sets the correct dialect and use of preprocessors. You can control this default behavior from Perform automatic directives determination setting to the desired option.
- set theYou can also trigger directives determination manually using the Determine Directives context menu command for projects, folder and programs in the Application Explorer view, COBOL Explorer or the PL/I Explorer view. You can turn off or configure this behavior using the Micro Focus > COBOL > Directives Determination page in the IDE preferences (click Window > Preferences). For PL/I projects, you can configure the directives determination from the Micro Focus > PL/I > Directives Determination page in the IDE preferences.
This displays the Overridden options list.
The Automatically add new directories to dependency paths preference on the Window > Micro Focus > Builder page in the IDE preferences (click Window > Preferences) controls whether adding a directory to a project also causes the directory to be added as an enabled item onto the dependency paths of the project. If you add a new copybook in a new folder and your build fails, you should check whether this preference is enabled or disabled and also check the project dependency paths settings.
You can also control the initial position of new directories by using the Insert to the beginning of dependency paths list or Append to the end of dependency paths list. Once the directories are added, you can manually position them in the required order.