NET/MASTER Network Control Language (NCL) Reference Manual
SIGNAL
Core Statements
106126 Tandem Computers Incorporated 2–65
See also GOSUB, GOTO, ON, RESUME, RETRY, and REVERT. The GOSUB and
GOTO core statements search labels differently from the SIGNAL statement. The
other four core statements are all relevant to condition and error handling. The
ON core statement defines an ON block, which determines what you want to do
for a specified condition or error. The RESUME core statement ignores the
statement that generated the condition or error. The RETRY core statement retries
the statement that generated the condition or error. The REVERT core statement
deactivates an ON block.
Examples
The following example generates the user-defined error condition FATAL_ERROR:
SIGNAL FATAL_ERROR
The following example branches to the label RESTART after terminating all active DO
and GOSUB activities in the current procedure:
SIGNAL LABEL RESTART