/[no]module

Syntax:

/module[:path] or /nomodule

The /module option controls where the module files (extension .MOD) are placed. If you omit this option (or specify /nomodule), the .MOD files are placed in the directory where the source file being compiled resides.

When /module:path is specified, the path specifies the directory location where the module files will be placed.

In the visual development environment, specify the Module Path in the Preprocessor Compiler Option Category.

When /module is entered without specifying a path, it is interpreted as a request to place the MOD files in the same location that the object is being created. Should a path be specified on the /object option, that location would also be used for the MOD files.

You need to ensure that the module files are created before they are referenced when using the DF command (see Compile With Appropriate Options and Multiple Source Files).