COBOL Manual for TNS/E Programs (H06.03+)
Introduction
HP COBOL Manual for TNS/E Programs—520347-003
1-4
Guardian and OSS Environments
Guardian and OSS Environments
The NonStop operating system offers two operating environments, the Guardian
environment and the OSS environment.
The OSS utility ecobol calls the ECOBOL compiler.
The OSS environment provides industry-standard application program interfaces
(APIs) and utilities to enable you to port existing applications quickly and easily to
NonStop systems. The NonStop operating system continues to support Guardian
services. Most features of the HP COBOL language and library are available in the
OSS environment, and most of them operate as they do in the Guardian environment.
For more information on OSS, see Section 19, Using HP COBOL in the OSS
Environment.
In both the OSS and the Windows environments, the flag
-Wsystype={guardian|oss} determines whether the native COBOL cross
compiler creates loadfiles for the Guardian environment or for the OSS environment.
The default is the Guardian environment. For more information on the native COBOL
cross compiler, see Section 34, Native COBOL Cross Compiler.
Compiler Input
The only required input to the compiler is:
•
A source file containing the program text
•
In some cases, compiler directives
The optional input is:
•
One or more source library files from which the compiler can copy additional
source text specified in COPY statements or SOURCE directives
•
One or more user-specified object files that contain object code explicitly called by
the program being compiled
•
These COBOL external declarations files, which are used in resolving references
to routines in the system library:
File Contents
ECOBEX0 Operating system routines for the latest RVU of the operating system
ECOBEX1 Operating system routines for the next-to-latest RVU of the operating
system
ECOBEXT Operating system routines for the second-next-to-latest RVU of the
operating system
ZCOBDLL Utility routines
ZCREDLL Utility routines










