error handling
Program code that checks for a run-time error. By default, 4GL terminates a
program when it encounters a run-time error. The 4GL WHENEVER ERROR statement can
change this default error handling behavior. With the WHENEVER ERROR CONTINUE
statement, 4GL sets the built-in status variable to a negative value and
continues execution when it encounters a run-time error. The program must explicitly
check the value of status and determine appropriate action.
See also error, error log, error message, exception handling, program execution, status variable.