HP 3000 Manuals

ERR [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

ERR 

Pushes a user error message onto the error command stack.

Syntax 

     ERR errmsg 

The ERR command is typically used within user defined macros.

Parameters 

 errmsg          The error message that is to be pushed onto the error
                 stack.  This message must be entered as a string
                 expression (that is, a quoted string literal, a string
                 function or macro result).

Examples 

     $nmdat > err "Illegal negative parameter value" 

Push a custom user error message onto the error stack.

Limitations, Restrictions 

The error stack is implemented as a ring, with a total of 10 elements.

Note that the ERROR environment variable is not set by this command.


CAUTION The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.


MPE/iX 5.0 Documentation