To set Compiler directives on a COBOL file

Note: The following applies to native COBOL only.

To specify Compiler directives on an individual COBOL file which is part of a project:

  1. In COBOL Explorer, right-click the file on which you want to set the directives.
  2. Click Properties.
  3. Go to the COBOL page.
  4. Check Enable file specific settings.
  5. In Additional Directives, type the directives to set. Separate each directive with a space.
  6. Click OK.

The next time you compile the file or the entire project, the directives are applied.

Important: The directives set on individual files override those that are specified for the entire project.