The PL/I compile-time user exit allows an installation to monitor compile-time messages. Every message that is issued by various components of PL/I is first subjected to the -f compile-time option. If the message is not suppressed by the -f option, it is presented to the user exit.
The user exit can:
Example:
plisql1.pp (0,0) : Error MPLIE00042E : Errors have ...
If the severity is lowered, the message will be shown as:
plisql1.pp (0,0) : Warning MPLIE00042E-: Errors have ...
The return code will be 4 instead fo 8.
If the severity is raised, the message will be shown as:
plisql1.pp (0,0) : Severe MPLIE00042E+: Errors have ...
The return code will be 12 instead of 8.
Upon return from the exit, the message is not subjected to the -f option.
You can modify the provided user exit to suit your needs. It can be used to gather compile-time information for later or real-time analysis.
The compile-time user exit should be built as follows:
It must have an executable name of mfplicux (lowercase) and be placed in a directory that is on the search path (PATH on Windows).