next up previous contents
Next: Setting Thresholds for Up: Using the E_L Previous: Logging Errors -

Setting Severities for Report & Abort - ERLGM2

ERLGM2(IERLVR,IERLVA) allows you to set a minimum error code level for reporting messages or aborting. IERLVR is the report level and IERLVA is the abort level. For example, if you would like the E_L to ignore (not print) any messages under error level 11 (ELINFO), then you would call ERLGM2 with the following parameters:

CALL ERLGM2(ELINFO,-1) or CALL ERLGM2(11,-1)

This will tell the E_L not to print any messages with a value of 11 or less (until the final summary). The abort limit works in much the same way, only if the second parameter is ELINFO (11), this means that all messages over error code 11 will cause the job to abort.



Flavia Donno
Mon Jul 22 1996