Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)

Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual429311-002
7-16
ASSIGN Command
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:
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.
BLOCK block-size
sets the size of the data blocks used by logical-unit. Specify block-
size as an integer in the range 1 through 65535.
Considerations
If logical-unit is omitted, ASSIGN displays all the current assigned values.
If the actual-file-name is omitted, the current assignment value for the
logical-unit displays.
If actual-file-name is omitted but create-open-spec is included, blanks are
passed in the actual-file-name field of the ASSIGN message.
Use the CLEAR command to delete existing ASSIGN messages. For more
information, see CLEAR Command on page 7-18.
There is a limit of 50 ASSIGN messages supported by VHSCI.
VHSCI creates an ASSIGN message for each ASSIGN command. A new process
must request its ASSIGN message following receipt of the startup message. All
ASSIGN messages read from TACL and the ones set in VHSCI are passed to the
new process.
The ASSIGN message resulting from entry of an ASSIGN command supersedes
any ASSIGN message read at VHSCI startup time.