TS/MP System Management Manual (H06.05+, J06.03+)

Overview of PATHCOM
HP NonStop TS/MP System Management Manual541819-007
8-7
Noninteractive Mode
or:
= command-1
= command-2
Pressing the terminal Break key during the execution of a PATHCOM command
(described in Section 10, PATHCOM Operation Commands) cancels the command;
control remains with PATHCOM and you can reenter the command. Pressing the
Break key in all other instances, including after the PATHCOM prompt appears, returns
the terminal to the TACL command interpreter without terminating PATHCOM. Enter
“pause” at the TACL prompt to return the PATHCOM prompt (=).
Running PATHCOM interactively allows you to monitor the status of the objects,
dynamically start and stop PATHMON-controlled objects, and inform the Pathway
terminal operators about changing conditions using tell messages.
Noninteractive Mode
PATHCOM functions in noninteractive mode when it reads commands from a
command file.
In this example, PATHCOM reads commands from a file named CMDFILE and lists
them on the device $S.#LP. When it encounters an end-of-file command or an EXIT
command, PATHCOM terminates.
3> PATHCOM/IN CMDFILE,OUT $S.#LP, CPU 1, NOWAIT/$PM2
You can use DEFINEs to specify names for the files that PATHCOM uses directly as
IN, OUT, and OBEY command files. In this example, PATHCOM reads commands
from the command file specified by DEFINE =CMD-FILE ($DATA.PW.CONFIG) and
lists them on the device specified by DEFINE =OUT-FILE ($S):
12> ADD DEFINE =CMD-FILE, CLASS MAP, FILE $DATA.PW.CONFIG
13> ADD DEFINE =OUT-FILE, CLASS SPOOL, LOC $S, REPORT
"CONFIG"
14> PATHCOM /IN =CMD-FILE, OUT =OUT-FILE/ $PM
For detailed information about DEFINEs, see the TACL Reference Manual and the
Guardian Users Guide.
Guardian File Names
Each disk file in the Guardian file-system is identified by a unique, symbolic file name,
described in these paragraphs.
File Name Format
The name, and therefore the location, of a Guardian disk file is determined in four
parts:
\nodeIdentifies a specific system within a network