Rather than spending the time to write a completely new compiler user exit, you can modify the sample program, IBMUEXIT.INF.
Edit the INF file to indicate which message numbers you want to suppress, and which message number severity levels you would like changed. A sample IBMUEXIT.INF file is shown in Figure 29.
Fac Id Msg No Severity Suppress Comment +--------+--------+----------+----------+-------------------------------- 'IBM' 1041 -1 1 Comment spans multiple lines 'IBM' 1044 -1 1 FIXED BIN 7 mapped to 1 byte 'IBM' 1172 0 0 Select without OTHERWISE 'IBM' 1052 -1 1 Nodescriptor with * extent args 'IBM' 1047 12 0 Reorder inhibits optimization 'IBM' 8009 -1 1 Semicolon in string constant 'IBM' 1107 12 0 Undeclared ENTRY 'IBM' 1169 0 1 Precision of result determined by arg
The first two lines are header lines and are ignored by IBMUEXIT. The remaining lines contain input separated by a variable number of blanks.
Each column of the file is relevant to the compiler user exit: