COBOL Manual for TNS and TNS/R Programs

Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS and TNS/R Programs522555-006
19-9
OSS Pathnames
/
specifies the root directory when it appears at the beginning of a pathname;
elsewhere, it separates directory names and file names.
directory
is the name of a directory. A directory name can contain any characters except
slash (/) and the NULL character (zero). Its first character cannot be a hyphen (-).
Its maximum length is NAME_MAX characters, as defined by the limitsh header
file. If directory contains special characters, the entire pathname must be
enclosed in quotation marks.
These directory names have special meanings:
file-name
is the name of a file. A file name can contain any characters except slash (/) and
the NULL character (zero). Its first character cannot be a hyphen (-). Its maximum
length is NAME_MAX characters, as defined by the limitsh header file. If file-
name contains special characters, the entire pathname must be enclosed in
quotation marks.
OSS Pathnames for Guardian Files
The OSS pathname of a Guardian file has this format:
Directory Name Meaning
. OSS current working directory
.. Parent directory of the OSS current working directory
Example 19-1. OSS Pathnames for OSS Files
file2
vol1/file2
usr/vol1/file2
/usr/vol1/file2
/usr/vol1/part3/file2
"OSS /usr/vol1/file2"
/E/qa2/usr/vol1/file2
"OSS /E/qa2/usr/vol1/file2"
GUARDIAN
/E/
OSS
ns
ns
"
node
file-id-1
device
file-id-2
ns
"
ns
ns
VST734.vsd