TS/MP 2.5 System Management Manual

IN Command
You specify the IN command when you start PATHCOM. For example, this command starts
PATHCOM and directs PATHCOM to read commands from a file named PWCMD and list them
on the device $S.#LP:
11> PATHCOM /IN PWCMD, OUT $S.#LP, CPU 1, NOWAIT/ $PMX
When PATHCOM runs, it reads the commands and runs them in sequence. When it encounters
an end of file or an EXIT command, PATHCOM terminates.
OBEY Command
You specify the OBEY command from within PATHCOM. For example, this command directs
PATHCOM to read commands from a command file named PWCMD:
8> PATHCOM $PMX
$X364: PATHCOM - T0845H01 - (01AUG08)
(C)1980 Tandem(C)2005 Hewlett Packard Development Company, L.P.
= OBEY PWCMD
TACL Routines
The TACL INLINE facility allows you to incorporate PATHCOM commands into a TACL routine to
manage your PATHMON environment. This example shows a few lines from a TACL routine that
starts server objects in the PATHMON configuration file:
.
.
pathcom/inline,cpu 1,pri 190 / %1% == assume local pmon
+ errors 999
[#loop |do|
#set count [#compute [count] + 1 ]
+ start server srvr-S[count]
|until| [count] >= 50
]
.
.
For more information about TACL and using TACL routines, see the TACL Reference Manual and
the TACL Programming Guide.
Using DEFINEs
You can use DEFINEs to specify names for the files that PATHCOM uses directly as command files.
For example:
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/ $PMX
In the preceding example, PATHCOM reads commands from the command file specified by the
DEFINE =CMD-FILE ($DATA.PW.CONFIG) and lists them on the device specified by the DEFINE
=OUT-FILE ($S).
For detailed information about DEFINEs, see the TACL Reference Manual and the Guardian User’s
Guide.
Configuring Global Parameters
After you have named your PATHMON process and opened communication with PATHCOM, you
are ready to configure global parameters using the SET PATHWAY command.
The SET PATHWAY command allows you to define the limits for your overall configuration and to
specify node-independent, owner, and security attributes. These tasks are briefly described in this
Starting a PATHMON Environment 39