TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-118
PMSEARCH Command
PMSEARCH Command
Use the PMSEARCH command to define the list of subvolumes that TACL is to search
to find program and macro files in response to an implied RUN command.
subvol-spec
specifies a subvolume to be searched. subvol-spec takes one of these forms:
[\node-name.][$volume.] subvol
is a syntactically correct name of an existing subvolume. If you omit \node-
name or $volume, the current default system or volume is assumed.
#DEFAULTS
is a TACL keyword that, in this specific context, represents the default volume
and subvolume in use at the time you issue an implied RUN command.
Considerations
If $SYSTEM.SYSTEM appears in a search list and TACL searches it but fails to
find the desired file, TACL automatically searches the current $SYSTEM.SYSnn
subvolume as well.
If you do not define a program and macro search list, TACL searches only in
$SYSTEM.SYSTEM and $SYSTEM.SYS nn to find a file specified in an implied RUN
command.
If TACL finds the desired file but its security does not allow TACL to invoke it,
TACL stops at that point in the search list.
When you issue an implied RUN command, TACL searches the first subvolume
specified in the search list. If it fails to find the program or macro file there, it
searches the next subvolume, and so on. After it finds the program or macro file,
the search ends. For example:
27> VOLUME $OLD.HOME
28> PMSEARCH $SYSTEM.SYSTEM #DEFAULTS [#DEFAULTS]
29> VOLUME $NEW.PLACE
30> EDIT FRED
#DEFAULTS is a TACL keyword that, in this specific context, represents the
default volume and subvolume. [#DEFAULTS] represents the defaults at the time
the search list is created; #DEFAULTS represents the defaults at the time the
search list is accessed to find a program or macro to run.
That is, [#DEFAULTS] invokes the keyword when the PMSEARCH command is
executed, returning the current default volume and subvolume names and
including them in the search list. #DEFAULTS is simply the keyword itself, which
PMSEARCH subvol-spec [ [,] subvol-spec ] ...