COBOL Manual for TNS and TNS/R Programs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
19-1
19
Using HP COBOL in the OSS
Environment
The NonStop operating system offers two operating environments:
•
Guardian environment
•
OSS environment
Open System Services 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. HP has enhanced many tools from the Guardian environment so that they
also operate in the OSS environment. For example, the Binder and linker now identify
OSS object files as well as Guardian object files.
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. This
section explains the few exceptions. It also describes line sequential files (also called
OSS ASCII files), which are available in the OSS environment. For complete
information about the OSS environment, see the Open System Services Programmer’s
Guide.
Topics:
•
Running the COBOL85 Compiler
•
Running the NMCOBOL Compiler
•
Running HP COBOL Programs
•
Calling OSS Functions From HP COBOL Programs
•
Mixed-Language Programs
•
Changing Default Pathnames and Disk Volume
•
Files in the OSS Environment
•
Line Sequential Files
•
Features Unavailable in the OSS Environment
•
Features That Operate Differently in the OSS Environment
To terminate a compilation in the OSS environment, press Control-C (that is, press
Control and C—not c—simultaneously).