Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

The IBM-supplied compiler exit, IBMUEXIT

IBM supplies you with the sample compiler user exit, IBMUEXIT, which filters messages for you. It monitors messages and, based on the message number that you specify, suppresses the message or changes the severity of the message.

There are several files that comprise IBMUEXIT:

IBMUEXIT.PLI
Contains the PL/I source code.
IBMUEXIT.DLL
Executable DLL of IBMUEXIT.PLI. In order to build this file, issue the following commands from the command line:

On Windows:

  pli ibmuexit
  ilib /geni ibmuexit.def
  ilink /dll ibmuexit.obj ibmuexit.exp
IBMUEXIT.DEF
DEF file that is used to build IBMUEXIT.DLL.
IBMUEXIT.INF
Control file that specifies filtering of messages.

The PLI source file is provided for your information and modification. The INF control file contains the message numbers that should be monitored, and tells IBMUEXIT what actions to take for them. The executable module reads the INF control file, and either ignores the message or changes its severity.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)