Previous Topic Next topic Print topic


To automatically determine and set directives on COBOL files

Use the Determine Directives command in Solution Explorer in order for the IDE to scan the files in your project and set any required Compiler directives.
  1. If necessary, check and ensure the options for setting directives are the ones you require. Click Tools > Options > Micro Focus > Directives > COBOL.
  2. In Solution Explorer, right-click your project or the file whose directives you want to set.
  3. Click Determine Directives.
    Each file is handled in turn, as follows:
    • The existing directives are removed
    • The IDE checks the file to determine what directives are required
    • Directives are set on the files as specified on the COBOL page in Tools > Options > Micro Focus > Directives.

      If the directive is already set on project level, it is not set on file level.

  4. Check the Output window to see details about what directives have been set or unset.
Previous Topic Next topic Print topic