TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-119
PMSEARCH Command
PMSEARCH places in the search list intact; it is invoked later when an implied
RUN command is executed, causing TACL to access the list.
The PMSEARCH command in the preceding example causes the program/macro
search list to contain:
$SYSTEM.SYSTEM #DEFAULTS $OLD.HOME
At that time, #DEFAULTS also represents $OLD.HOME. The next VOLUME
command changes the current default volume and subvolume; #DEFAULTS now
represents $NEW.PLACE. The implied RUN command causes TACL to search
$SYSTEM.SYSTEM, then $NEW.PLACE, and finally $OLD.HOME for the file
EDIT.
TACL invokes variables in preference to running programs. If, for example, you
issue an implied RUN command using a name that identifies both a variable
containing a TACL routine and a file containing an executable program, TACL
executes the routine instead of the program.
If you plan to run any system utilities that have duplicate names in other
subvolumes in your list, place $SYSTEM.SYSTEM first in your search list.
To see the contents of the program and macro search list, use the ENV Command
on page 8-60 or the #PMSEARCHLIST Built-In Variable on page 9-287.