Virtual Hometerm Subsystem (VHS) Manual (H06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-001
7-15
ASSIGN Command
exclusion-spec
specifies the exclusion mode for logical-unit. It determines the
circumstances in which other processes can access the file. The possible
values for exclusion-spec are the following:
EXCLUSIVE
means other processes cannot access actual-file-name while the
program containing logical-unit has the file open.
SHARED
means that other processes can both read from and write to actual-
file-name while the program containing logical-unit has the file
open.
PROTECTED
means that another process can read, but not write to, actual-file-
name while the program containing logical-unit has the file open. See
the Enscribe Programmer’s Guide for more information about exclusion
modes.
access-spec
specifies the access mode for logical-unit. It specifies the type of file
operations that can be performed. The possible values for access-spec are
the following:
I-O
means that processes can both read the file and write to it.
INPUT
means that processes can only write to the file.
OUTPUT
means that processes can only read the file.
CODE file-code
assigns a file code to logical-unit. Specify file-code as an integer in
the range 0 through 65535. If file-code is omitted, the file code is set to 0.
REC record-size
sets the length of records in logical-unit. Specify record-size as an
integer in the range 1 through 65535.










