MPC

Determines the level of macro processing.

Syntax:

[NO]MPC

Properties:

Default: NOMPC

Build Settings:

Check Use pre-assembled macros on the Assembler tab of your project properties Assembler page.

Comments:

If a valid pre-processed macro file (.mpc) is found, it is used as input to the assembly phase, and the macro pre-process phase is bypassed. If a valid .mpc file is not found or one is found but it predates the corresponding macro source file, the macro from source is compiled and saved as an .mpc file for future use.

Using .mpc files can shorten compilation time by up to 50% for large assemblies that use many complex macros.

This directive is not available on the mainframe.

The Assembler compiler does not check whether macro copybooks have changed since the .mpc file was created, so if you change macro copybooks, you should delete all .mpc files or use the MPCGEN directive to force regeneration.

Setting the MPC directive also has the effect of removing the file and relative line number information from the compilation error messages displayed and from the reports produced by setting the BALLIST, MACLIST, XMAC and XREF directives.