NET/MASTER Messages Manual

3 NCL Error Codes
106159 Tandem Computers Incorporated 3–1
NCL Error Codes NCL error codes signify errors that occur during the execution of an NCL procedure.
The codes might appear as part of a NonStop NET/MASTER message and can be
accessed through the &SYS.ERROR.CODE system variable in an error handler.
This section lists each error code number followed by a description of the code.
1. An invalid external procedure name was encountered and could not be loaded. The
name was evaluated during run time and contained invalid or too many characters.
2. There were too many nested levels.
3. An operation resulted in a number whose absolute value was either too large or too
small. A number cannot be outside ±1.15792089237161e77 or inside
±8.63616855509445e-78.
4. A number was expected but not found.
5. An integer was expected but not found.
6. A Boolean value (0 or 1) was expected but not found.
7. A number was out of range.
8. A function call was made to a procedure. The call targeted a piece of coding that is
declared as a procedure either explicitly through the PROCEDURE core statement or
implicitly. You must declare a function through the FUNCTION core statement.
9. A procedure call was made to a function. The call targeted a piece of coding that is
declared through the FUNCTION core statement. You can declare a procedure either
explicitly through the PROCEDURE core statement or implicitly.
10. A number was divided by zero.
11. Either an attempt was made to access a &SYS.ERROR.* system variable but the
attempt was not made within an error handler, or a RETRY core statement was
encountered but the statement was not within an error handler.
12. A call was made to an external procedure. The procedure was found but could not
be loaded due to a compilation error.
13. A reference was made to a nonexistent function or procedure.
14. A SIGNAL core statement raised a condition.
15. The number of times loops or GOSUB or GOTO core statements were executed
exceeded the value specified in the &SYS.LOOPCTL system variable. The default is
1000.
16. A core statement (for example, GOSUB or GOTO) specified a label that was
evaluated during run time but the resultant label is not a legal branch.
17. A label was evaluated during run time and the resultant label was found to contain
too many characters. A label must be less than 250 characters long.
18. An unknown verb was encountered or the verb belongs to a feature that is
disabled.