Previous Topic Next topic Print topic


Preprocessor Order of Execution

The Open PL/I preprocessors are run by mfplx in the following order:

  1. Open PL/I Include Preprocessor
  2. Open PL/I Macro Preprocessor
  3. DL/I Preprocessor
  4. OpenESQL Preprocessor
  5. CICS Preprocessor
  6. Open PL/I Macro Preprocessor
  7. DB2 Preprocessor
    Note: The DB2 Preprocessor is deprecated and will be removed in a future release.

The ordering of the Compiler switches you use has no impact.

You may change the order, if necessary, by separately invoking the preprocessor you choose.

It is recommended that you run the preprocessors in this order via mfplx, but if you want to run the preprocessors separately, run mfplx with the preprocessor arguments you want and the -# flag to see what command lines are generated.

The running of the preprocessor is controlled by the following flags:

-incl, -macro, -dll, -cics, -db2 and -sql cause respective preprocessors to run. -ppincl, -pp, -ppdli, -ppcics, -ppdb2 and -ppsql cause the preprocessor's output to be kept and the optional output_file says to give the output file a particular name.

Previous Topic Next topic Print topic