Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

Qualifiers

/ERROR

/SYMBOL

/UPDATE

HELP WRITE — MicroVMS 4.5B

Writes the specified data item as one record to an open file specified
by a logical name. All qualifiers must precede all data-item
expression

Format
 WRITE logical-name data-item,...

Additional information available:

ParametersQualifiers

Parameters

logical-name
 Logical name of the output file. Use the logical name assigned by the
 OPEN command, or, in interactive mode, specify SYS$INPUT, SYS$OUTPUT,
 SYS$COMMAND, or SYS$ERROR to mean your terminal.
data-item
 Symbol name, character string in quotation marks, literal numeric
 value, or a list of expressions. Multiple data items are concatenated
 into one record which cannot exceed 255 characters in length.

Qualifiers

Additional information available:

/ERROR/SYMBOL/UPDATE

/ERROR=label

 Transfers control on an I/O error to the location specified by label
 (in a command procedure). /ERROR overrides any ON condition action
 specified. The symbol $STATUS retains the error code.

/SYMBOL

 Causes the expression to be interpreted and its expanded value placed
 in a 2048-byte (instead of a 1024-byte) buffer before the WRITE
 operation is performed. If you specify multiple expressions, their
 values are concatenated and placed in the 2048-byte buffer. Each
 expression specified must be a symbol.

/UPDATE

 Replaces the last record read with the specified data-item. The
 specified data item must be exactly the same size as the record it is
 replacing. This qualifier can only be used if the file is opened for
 both read and write access.



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026