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

OMI - Set

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

5.4.4 Set

(Operation type 10) This operation assigns a value to a global variable, creating the variable if it does not already exist.

The fields of the set request and their sequence shall be:

  1. Replicate flag: <SI> indicates whether the server should replicate the operation (see 4.6). 0 means no, 1 means yes. All other values are reserved.
    Note – Servers are not required to support replication. Those that do support it shall honor this field.
  2. Global reference: <LS> the name of the global variable (gvn) that is to be set to a new value.
  3. Global value: <LS> The value to be assigned to the global variable.

The set response consists of a header only, indicating whether an error occurred during the operation.

<SI>
Replicate
<LS> <LS>
<LI> Global Ref <LI> Global Value

Figure 8 – Set request

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.

This page most recently updated on 13-Sep-2014, 14:20:40.

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