HELP OPEN — MicroVMS 4.5B
Opens a file for reading or writing and associates a logical name with the file. Format OPEN logical-name file-spec
Additional information available:
Parameters
logical-name A character string of 1 through 63 characters. file-spec File specification of the file being opened. The file type defaults to DAT. Wildcard characters are not allowed.
Qualifiers
Additional information available:
/APPEND/ERROR/READ/SHARE/WRITE
/APPEND
Opens an existing file for output. New records are added to the end of the file. Incompatible with the /WRITE qualifier.
/ERROR=label
Transfers control to the location specified by label (in a command procedure) if the OPEN operation results in an error. This qualifier overrides any ON condition action specified.
/READ (default)
Opens the file for reading.
/SHARE[=option]
/NOSHARE Permits other users read or read/write access to the file. Specify option as READ or WRITE (default).
/WRITE
Opens the file for writing. If the file already exists when you open it for write access, a new version is created.