TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-31
#ASSIGN Built-In Variable
#ASSIGN Built-In Variable
#ASSIGN contains all the defined attributes of all currently defined unit names.
option
specifies one of these types of information:
ACCESS
requests the type of access for the logical unit; it returns I/O, INPUT, OUTPUT,
or nothing.
BLOCK
requests the block size of the logical unit; it returns the block size or nothing.
CODE
requests the file code for the logical unit; it returns the file code or nothing.
(See the FUP INFO command in the File Utility Program (FUP) Reference
Manual.
EXCLUSION
requests the type of exclusion assigned to the logical unit; it returns
EXCLUSIVE, PROTECTED, SHARED, or nothing.
EXISTENCE
returns -1 if the logical unit is defined; if not, it returns 0.
FILENAME
requests the file name of the logical unit; it returns the name of the file or
nothing.
PRIMARY
requests the primary-extent size for the logical unit; it returns the primary-
extent size or nothing.
RECORD
requests the record size for the logical unit; it returns the record size or
nothing.
SECONDARY
requests the secondary-extent size of the logical unit; it returns the secondary-
extent size or nothing.
#ASSIGN [ / option [ , option ] ... / logical-unit ]