Common Directives - directives.mf (Technology Preview)

Note: This is a technology preview feature only. It is being made available to allow you to test and provide feedback on this new capability; however, this feature is not intended for production use and it is not supported as such.

Use one or more common directives files, directives.mf, to automatically set directives for compiling multiple COBOL applications without having to specify all applicable directives individually.

The COBOL compiler looks for directives.mf its next source for compiler directives after cobol.dir. See The Order in which Compiler Directives are Processed for details.

Notes:
  • You can override the directives specified in directives.mf directly on the command line or by using the $SET statement in your code. See The Order in which Compiler Directives are Processed for details.
  • The Common Directives feature is enabled by default. To disable it, set the MFCROW_DISABLE environment variable to Y.