pTAL Reference Manual (H06.03+)

Disk File Names and HP TACL Commands
HP pTAL Reference Manual523746-005
B-9
ASSIGN
ASSIGN SSV
The ASSIGN SSV (search subvolume) command lets you specify which node, volume,
and subvolume to take files from. The compiler uses ASSIGN SSV information to
resolve partial file names in the SEARCH, SOURCE, and USEGLOBALS directives.
For each ASSIGN SSV command, append to the SSV keyword a value in the range 0
through 49. Values in the range 0 through 9 can appear with or without a leading 0.
For example, if you specify:
ASSIGN SSV1, oldfiles
and the compiler encounters the directive:
?SOURCE myutil
the compiler looks for oldfiles.myutil.
If you then specify:
ASSIGN SSV1, newfiles
and run the compiler again, it looks for newfiles.myutil.
If you omit the node or volume, the HP TACL product uses the current default node or
volume. If you omit the subvolume, the compiler ignores the command. HP TACL
DEFINE names are not allowed.
The ASSIGN SSV command also lets you specify the order in which subvolumes are
searched. You can specify ASSIGN SSV commands in any order. If the same SSV
value appears more than once, the HP TACL product stores only the last command
having that value.
For example, if you issue the following commands, the HP TACL product stores only
two of the messages:
The compiler stores ASSIGN SSV messages in its SSV table in ascending order.
For each file name the compiler processes, the compiler scans the SSVs in ascending
order from SSV0 until it finds a subvolume that holds the file.
Note. The EpTAL compiler ignores the USEGLOBALS directive.
Assign SSV Command Stored
ASSIGN SSV28, $a.b Yes
ASSIGN SSV7, $c.d No
ASSIGN SSV7, $e.f No
ASSIGN SSV07, $g.h Yes