TS/MP System Management Manual (G06.24+, H06.03+)

Overview of PATHCOM
NonStop TS/MP System Management Manual541819-001
8-7
Noninteractive Mode
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
$volumeIdentifies a physical disk pack mounted on a disk unit
subvolumeIdentifies a disk file as a member of a related set of files as defined
by the user
file–identifierIdentifies a particular file within the subvolume
File names of disk files are represented to HP subsystem programs by these four parts
concatenated into a contiguous string. Each part is separated from the other by a
period as follows:
\node.$volume.subvolume.file–identifier
When you supply only a partial file name as a command parameter, the internal
representation of the file name is expanded into the full four-part file name. As a
minimum, a partial file name must consist of the file identifier.