OFFERROR

Disable runtime errors traps

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
OFFERROR

The OFFERROR statement cancels any outstanding error traps established by a previous ONERROR statement. If you use OFFERROR, all runtime errors are subsequently considered fatal and cause immediate program termination until another ­ONERROR statement is executed. The exceptions are errors trapped by the I/O statement error lists and EOF labels.

Record locking

onerror oops                    ;Enable "bad digit" trap
number = input
offerror                        ;Disable "bad digit" trap