WARNINGS
This field contains a count of the number of warnings generated so far within the current subprocess family, either by the use of the WARNING statement or by data lookup warning conditions. It can also be set to zero at any time, and then interrogated at a later time, to determine if any warnings were encountered between those two points.
SET TAP WORK NO WARNINGS = --- WARNINGS
Related PDF: ERRORS