COBOL Manual for TNS and TNS/R Programs

Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS and TNS/R Programs522555-006
19-24
Compiler Directives
Compiler Directives
These compiler directives are not allowed in the OSS environment:
Process Pairs
The OSS environment does not support HP COBOL process pairs; therefore, the
CHECKPOINT and STARTBACKUP statements return error 7000 in the special
register PROGRAM-STATUS.
Features That Operate Differently in the OSS
Environment
Features that operate differently in the Guardian and OSS environments fall into these
categories:
ACCEPT and DISPLAY Statements
Utility Routines that require or return file names
ACCEPT and DISPLAY Statements
These are true in the OSS environment but not in the Guardian environment:
No prompt is given for an ACCEPT statement.
If a DISPLAY statement includes mnemonic-name, it must be the OSS pathname
of either a Guardian file or a pipe to a terminal or device.
If an ACCEPT statement includes mnemonic-name, it must be the OSS pathname
of a Guardian process or terminal. If mnemonic-name is an OSS device, a
diagnostic is issued and the default input device (#IN) is used instead.
Directive Reason
ENV OLD
ENV LIBRARY
In the OSS environment, HP COBOL programs run in the CRE.
NONSTOP The OSS environment does not support HP COBOL process pairs.
SAVE The OSS environment does not have initialization messages.
SUBTYPE The OSS environment does not support the concept of subtypes.