Rather than spending the time to write a completely new compiler user exit, you can simplify modify the user exit input file.
Edit the file to indicate which message numbers you want to suppress, and which message number severity levels you would like changed. A sample file is shown in Figure 104.
Fac Id Msg No Severity Suppress Comment +--------+--------+----------+----------+-------------------------------- 'IBM' 1042 -1 1 String spans multiple lines 'IBM' 1044 -1 1 FIXED BIN 7 mapped to 1 byte 'IBM' 1047 8 0 Order inhibits optimization 'IBM' 1052 -1 1 Nodescriptor with * extent arg 'IBM' 1059 0 0 Select without OTHERWISE 'IBM' 1169 0 1 Precision of result determined
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: