Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

$ECODE

Draft MDC Standard

7.1.4.10.2 $ECode

$EC[ODE]

contains information about an error condition. When the value of $ECode is the empty string, normal routine execution rules are in effect. When $ECode contains anything else, the execution rules in 6.3.3 (Error processing) are active. When a process is initiated, but before any commands are processed, the value of $ECode is the empty string.

The syntax of a non-empty value returned by $ECode is as follows:

   , L ecode ,

    ecode::=


M
U
Z



[ noncomma ]
    noncomma::= any of the characters in graphic except the comma character

Note: ecodes beginning with:
   M   are reserved for the MDC
   U   are reserved for the user
   Z   are reserved for the implementation
All other values are reserved.

When an attempt is made to assign a value to $ECode that does not meet the above constraints, an error will occur with ecode = "M101".

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 13-Sep-2014, 08:21:47.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)