Some statements in EASI allow the programmer to trap errors through the use of the ONERROR statement suffix. The general form for statements which accept the ONERROR suffix is:
[statement1] ONERROR [statement2]
where
statement1 is a statement that supports the ONERROR suffix.
Statement2 is any valid EASI statement to be executed only if
an error occurs while executing statement1.
Statements which support the ONERROR suffix are:
ONERROR is also a part of the TRY command (see TRY).
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.