NET/MASTER Network Control Language (NCL) Programmer's Guide

Writing an Error Handler
Run-Time Error Handling
7–10 106160 Tandem Computers Incorporated
The following screen shows the results of attempting to execute the procedure twice:
(14:04) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0705N 9999999999999999999999 9999999999999999999999999999999999
Arithmetic error
Condition is ARITH_ERROR
Code is 3
Procedure library is $DATA2.ZNCLPGN
Proc/Func is ZEX0705N
NNM1005 START ZEX0705N PROCESSING COMPLETE. NCLID 002047
START ZEX0705N 4 ABC
Type error
Condition is TYPE_ERROR
Code is 4
Procedure library is $DATA2.ZNCLPGN
Proc/Func is ZEX0705N
NNM1005 START ZEX0705N PROCESSING COMPLETE. NCLID 002048
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
When executed first, the ARITH_ERROR error handler is raised. When executed
second, the TYPE_ERROR error handler is raised.