COBOL Manual for TNS and TNS/R Programs

Introduction
HP COBOL Manual for TNS/E Programs520347-003
1-4
HP COBOL Compilers for TNS and TNS/R
Programs
HP COBOL Compilers for TNS and TNS/R
Programs
For HP COBOL source programs, HP provides the compilers in Table 1-3.
Guardian and OSS Environments
The NonStop operating system offers two operating environments, the Guardian
environment and the OSS environment.
These OSS utilities call these compilers on these systems:
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.
Table 1-3. HP COBOL TNS and TSN/R Compilers
Compiler T Number Description
COBOL85 T9257 Produces TNS object code, which is
position-dependent code (non-PIC)
. Runs
on TNS, TNS/R, and TNS/E systems.
NMCOBOL* ** T8107 Produces native TNS/R object code, which
is either non-PIC (the default) or position-
independent code (PIC). Runs on TNS/R
systems.
Native COBOL Cross Compiler
for TNS/R Programs on PC**
T0328 Enables you to build native TNS/R objects
or NonStop systems applications on a PC.
Runs on a PC.
* The NMCOBOL compiler itself is a mixture of TNS and TNS/R programs.
** In this manual, “NMCOBOL compiler” means both of these compllers unless otherwise stated.
OSS Utility Compiler Systems
cobol COBOL85 TNS and TNS/R (but not TNS/E)
nmcobol NMCOBOL TNS/R