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

Overview of PATHCOM
HP NonStop TS/MP System Management Manual541819-007
8-9
OSS Pathnames
OSS Pathnames
An OSS pathname in the OSS attributes PROGRAM, STDIN, STDERR, and STDOUT
can be an absolute pathname or a relative pathname. Case is significant.
When specifying an OSS pathname longer than one line, use the PATHCOM
continuation character (&) at the end of the line to indicate continuous input. If the
pathname includes an ampersand (&) as part of the name and the ampersand occurs
at the end of an input line, enter two ampersands. An ampersand occurring in the
middle of an input line, embedded in a pathname, need not be doubled. To embed
blanks, quotes, commas, and semicolons, use the same rules as for PATHCOM; in
other words, enclose the entire pathname in quotes.
Absolute Pathnames
Absolute pathnames must begin with a forward slash (/) and can have a maximum
length of 1023 characters; the last character (character 1024) is reserved for a null.
When setting an OSS pathname using the SET SERVER CWD command or when
setting a default directory using the CMDCWD command, you must specify an
absolute pathname.
Absolute pathnames specified for server process attributes are validated when the
SET SERVER command is processed.
Relative Pathnames
At process time, PATHCOM treats any OSS pathname that does not begin with a
forward slash (/) as a relative pathname and expands it to create an absolute
pathname.
When expanding a relative pathname, PATHCOM adds a forward slash and attaches
the OSS directory specified in the SET SERVER CWD command. If no directory has
been set, the default set with the CMDCWD command is used. If the value of the
CWD attribute ends with a forward slash, then PATHCOM does not add another one.
Relative pathnames specified for server process attributes are initially validated when
the SET SERVER command is processed; additional validation is performed during the
execution of the ADD SERVER and ALTER SERVER commands. An error message is
generated at the time an ADD SERVER or ALTER SERVER command is processed if
either of these conditions apply:
The expansion of a relative pathname results in an absolute pathname greater
than the maximum 1023 characters allowed.