Previous Topic Next topic Print topic


To choose options for setting directives when scanning files

You can configure the directives scan feature in the IDE and specify what Compiler directives it can set.
  1. Click Tools > Options.
  2. Expand Projects and Solutions.
  3. Click COBOL Project Settings.
  4. To determine the COBOL dialect of the files and set the DIALECT directive, check Set the DIALECT directive on files.

    The dialect directive is set only if it differs from the directive set for the project.

  5. Check Set CICSECM directive on files containing EXEC CICS, if required.

    The CICSECM() directive is set on files that contain an EXEC CICS statement.

  6. Check Set NOCICS directive on files that do not contain EXEC CICS, if required.

    When this directive is set on a file, it overrides any CICSECM directive set on the project.

  7. Check Set SQL directives on files containing EXEC SQL, if required.

    Click and choose the SQL directives to set if they occur in the file.

    Note: You must select the directives you require, as well as check the box or no directives are set on the files.
  8. Check Unset SQL directives on files that do not contain EXEC SQL, if required.

    When SQL directives are unset on a file, they override any SQL setting on the project.

Tip:
  • The status bar identifies the file currently being scanned for directives
  • The output window shows the directives being set on each file
  • To interrupt and stop setting directives, click Project > Cancel file scanning
Previous Topic Next topic Print topic