Pathway/iTS System Management Manual (G06.24+)

Overview of PATHCOM
HP NonStop Pathway/iTS System Management Manual426748-002
7-6
Interactive Mode
Interactive Mode
PATHCOM functions in interactive mode when you enter commands from a terminal
keyboard. PATHCOM prompts for a command by printing an equal sign (=). When you
enter a command, PATHCOM executes the command and issues another prompt.
In the following example, the first command starts the PATHMON process, the second
command starts the PATHCOM process, the third line shows the PATHCOM signon,
and the fourth line shows the PATHCOM prompt:
TACL 8> PATHMON/NAME $PM1,CPU 0,NOWAIT/
TACL 9> PATHCOM $PM1
PATHCOM - T9153C31 - (08SEP92)
=
You can group two or more commands separated by semicolons (;). For example,
these commands can be entered in two ways:
= command-1; command-2
or:
= command-1
= command-2
Pressing the terminal Break key during the execution of a PATHCOM command (as
described in the TS/MP System Management Manual) 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 and
inform the Pathway/iTS terminal operators about changing conditions using tell
messages.
Noninteractive Mode
PATHCOM functions in noninteractive mode when it reads commands from a
command file.
In the following 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
Note. For more information about the first and second commands in this example and about
the PATHCOM signon message, see the TS/MP System Management Manual.