Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-002
7-15
ASSIGN Command
create-open-spec
specifies the file creation or file open specification that assigns values to certain file
attributes. The attribute specifications are separated by commas (,). The applicable
attribute specifications for create-open-spec are:
extent-spec
exclusion-spec
access-spec
CODE file-code
REC record-size
BLOCK block-size
extent-spec
specifies the size of the file extents allocated to the file.
EXT [(] pri-extent-size [)]
EXT ( [ pri-extent-size ] , sec-extent-size )
pri-extent-size
specifies the size of the first file extent to be allocated to the file (primary
extent). The value is an integer in the range of 1 through 65535.
sec-extent-size
specifies the size of the extents allocated to the file after the primary extent
is allocated. The value is an integer in the range from 1 through 65535.
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:
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. For
more information about exclusion modes, see the Enscribe Programmer’s
Guide.