COBOL Manual for TNS and TNS/R Programs
Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS and TNS/R Programs—522555-006
19-8
Files in the OSS Environment
Files in the OSS Environment
In the OSS environment, you can use both OSS and Guardian files. OSS files are
either line sequential files (see Line Sequential Files) or sequential files with fixed-
length records and no alternate keys. Guardian files are all types of files that
HP COBOL programs can access in the Guardian environment. In the OSS
environment, both OSS and Guardian files must have OSS pathnames.
Topics:
•
OSS Pathnames
•
OSS Pathnames in HP COBOL Source Programs
•
OSS Files in HP COBOL Source Programs
•
#IN and #OUT
OSS Pathnames
In the OSS environment, both OSS files and Guardian files must have OSS
pathnames. These two topics briefly describe these pathnames. For further
information, see the Open System Services Programmer’s Guide and the
filename(5) reference page either online or in the Open System Services System
Calls Reference Manual.
OSS Pathnames for OSS Files
The OSS pathname of an OSS file has this format:
OSS
specifies that the file is an OSS file (the default). If OSS is specified, the entire
pathname must be enclosed in quotation marks.
node
specifies the name of a remote node. The operating system on the node must be
version D40.00 or later, and the node must have a compatible OSS name server.
/ /
/E/OSS
ns ns
ns ns ns
node
directory
filename
VST634.vsd