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 applications written in one or more programming languages without having to specify all applicable directives individually. The Common Directives feature supports COBOL, PL/I, and BMS code.

All three of these compilers look for directives.mf their 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 (COBOL only)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.