COBOL Manual for TNS/E Programs (H06.03+)

Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS/E Programs520347-003
19-5
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.
Table 19-1. Environment Variables
Variable Effect Default
ECOBOL Determines the pathname of the
ECOBOL compiler that the
ecobol utility calls
/G/system/system/ecobfe
SQLCOMP Determines the pathname of the
SQL/MP compiler that the
ecobol utility calls
/G/system/system/sqlcomp
MXSQLCO Determines the pathname of the
alternate COBOL SQL/MX
preprocessor that the ecobol
utility calls
/usr/tandem/sqlmx/bin/
MXCMP Determines the pathname of the
alternate SQL/MX compiler that
the ecobol utility calls
/G/system/system/
SQLCLIO Determines the pathname of the
object file that describes the
SQL/MX API to the ecobol utility
/usr/tandem/sqlmx/lib/esqlcli.
o