Tag Archives: Errn

How to get the message for numeric error code when an error occurs

errmes$ returns the message associated with a numeric error code available when an error occurs. It is frequently used when the error code errn is used, in the error handling routine set by Onerrgo. Syntax : errmes$(INT_EXPR) where INT_EXPR is an expression returning an integer value Example: Let’s trigger an error (division by zero). Description… Read More »

How to Know Error Number and Error Line in Sage X3

In any programming language, we need to do error handling for smooth working of any functionality. In Sage X3, the error management is done by Onerrgo instruction. When the errors are intercepted by the instruction Onerrgo, an error leads to a branching to the corresponding label. The corresponding error number can then be found in… Read More »