COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Table 106 Analogous PARAM Commands and OSS Environment Variables (continued)
OSS Environment Variable
1
PARAM Command
export NONSTOP=OFFPARAM NONSTOP OFF
export PRINTER_CONTROL=namePARAM PRINTER-CONTROL name
export SWITCH_n =ON
2
PARAM SWITCH-n ON
2
export SWITCH_n =OFF
2
PARAM SWITCH-n OFF
2
1
Type nonvariables with the cases and spacing shown.
2
n is “1” through “9” or “10” through “15” (without quotes).
Compiler Directives
These compiler directives are not allowed in the OSS environment:
ReasonDirective
The OSS environment does not support HP COBOL process pairs.NONSTOP
The OSS environment does not support the concept of file extentsOBJEXTENT
The OSS environment does not have initialization messages.SAVE
The OSS environment does not support the concept of subtypes.SUBTYPE
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.
Utility Routines
These utility routines accept only Guardian file names:
• COBOL_RETURN_SORT_ERRORS_
• COBOL_SET_SORT_PARAM_TEXT_
• COBOL_SPECIAL_OPEN_
If a program passes a file name to the utility routine COBOL_ASSIGN_, then COBOL_ASSIGN_
assumes that the file name is a Guardian file name unless the calling program identified the file
name as an OSS file name.
724 Using HP COBOL in the OSS Environment










