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

CLOSE

1977 Version of ANSI Standard

3.6.2 CLOSE

C[LOSE] postcond Space L closeargument

    closeargument::=

expr [ : deviceparameters ]
@ expratom V L closeargument


    deviceparameters::=

expr
( expr [ : [ expr ] ] ... )


See also the transition diagram for deviceparameters.

The value of the first expr of each closeargument identifies a device (or "file" or "data set"). The interpretation of the value of this expr is left to the implementor. The deviceparameters may be used to specify termination procedures or other information associated with relinquishing ownership, in accordance with implementor interpretation.

Each designated device is released from ownership. If a device is not owned at the time that it is named in an argument of an executed CLOSE, the command has no effect upon the ownership and the values of the associated parameters of that device. Device parameters in effect at the time of the execution of CLOSE are retained for possible future use in connection with the device to which they apply. If the current device is named in an argument of an executed CLOSE, the implementor may choose to execute implicitly OPEN P USE P, where P designates a predetermined default device. If the implementor chooses otherwise, $IO is given the empty value.

See also the transition diagram for Close.

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 15-Nov-2023, 13:22:25.

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