Configuring Directive Set References

You can configure the order that the directive sets are applied by setting their order in the project settings, build configurations, folder, or file level Directive Set References list.

Project settings directive set references

To set the project level Directive Set References:

  1. In the Application Explorer view, right-click your project.
  2. Click Properties > Micro Focus > Project Settings > COBOL > Directive Set References
  3. Click Add.

    This opens the Add a reference to a directive set file dialog box.

  4. In the Path field, type the path to the directive set file you want to use. Alternatively, click Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click Store path as an absolute value.
  5. Click OK.

Build configurations directive set references

To set the build configurations level Directive Set References:

  1. In the Application Explorer view, right-click your project.
  2. Click Properties > Micro Focus > Build Configurations > COBOL > Directive Set References
  3. Click Enable configuration specific settings.
  4. Click Add.

    This opens the Add a reference to a directive set file dialog box.

  5. In the Path field, type the path to the directive set file you want to use. Alternatively, click Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click Store path as an absolute value.
  6. Click OK.

Folder Directive Set References

To set the folder level Directive Set References:

  1. In the Application Explorer view, right-click the folder you want to add directive set references to.
  2. Click Properties > COBOL > Directive Set References
  3. Click Enable folder specific settings.
  4. Click Add.

    This opens the Add a reference to a directive set file dialog box.

  5. In the Path field, type the path to the directive set file you want to use. Alternatively, click Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click Store path as an absolute value.
  6. Click OK.

File Directive Set References

To set the file level Directive Set References:

  1. In the Application Explorer view, right-click the file you want to add directive set references to.
  2. Click Properties > COBOL > Directive Set References
  3. Click Enable file specific settings.
  4. Click Add.

    This opens the Add a reference to a directive set file dialog box.

  5. In the Path field, type the path to the directive set file you want to use. Alternatively, click Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click Store path as an absolute value.
  6. Click OK.