mfplx allows multiple filenames and accepts mfpli options as well as many standard UNIX or Windows system compiler and linker options, such as -c and -o. The -c option specifies compilation without linking. When -c is used, the -o option is passed to the compiler; when -c is not used, -o passes to ldpli.
On UNIX, mfplx always passes the -map option to the compiler for a storage allocation map in the listing file.
On Windows, when using the -c option for compiling without linking, mfplx passes the -map option to the compiler for a storage allocation map in the listing file. When linking is performed, mfplx passes -map to ldpli to create a loader map.
Some of the options available for use with the mfplx command are explained in the following table.
Option | Explanation |
---|---|
-# | Shows preprocessor(s) and compile/load commands (echo only). |
-c | Specifies compilation without linking. |
-dli | Runs the DL/I preprocessor and/or links with mfexecpp DL/I support. |
-help | Prints help text on STDOUT. |
-incl | Invokes the Include preprocessor. |
-l | Specifies an include search path. |
-macro | Runs the PL/I macro preprocessor. |
-nodebuginfo | Tells mfplx not to generate %FILE, %LINE, %SDEBUG and %RDEBUG information. |
-nomacro | Suppresses the invocation of the Open PL/I Macro Preprocessor. |
-O | Selects optimization level 0,1, 2, or 3 (equivalent to -opt.) |
-pp | Specifies PL/I macro preprocessor's output filename and saves it. |
-sql | Indicates using the mfexecpp SQL preprocessor (for DB2, OCI, or ODBC). |
-systemcics | Compiles and/or links to execute under CICS. |
-systemims | Compiles and/or links to execute under IMS. |
-systemmvs | Compiles and/or links to execute under MVS. |
-tagmin[12] | Enhances the readability of output by omitting the %SDEBUG and %RDEBUG tags. |
-v | Shows the version number of the compiler. |