Virtual Hometerm Subsystem (VHS) Manual (H06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-001
7-14
ASSIGN Command
logical-unit
specifies the name to which a file name or file attributes are assigned. logical-
unit requires one of the following:
*.logical-file
program-unit.logical-file
logical-file
Both program-unit and logical-file consist of 1 to 31 alphanumeric
characters, including hyphen (-) and circumflex (^).
The exact meanings of the asterisk (*), program-unit, and logical-file
depend on the application. In general, the following is true:
•
The asterisk (*) applies the assignment to all program units in the object
program file running.
•
program-unit is the name, as designated in the source program, that the
file name assignment applies to.
•
logical-file is the name of the file as designated in the source program.
actual-file-name
specifies the name of a physical file. A partial file name is not expanded.
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 the following:
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.










