COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-78
COBOL85^SPECIAL^OPEN and
COBOL_SPECIAL_OPEN_
library-reference
is a mnemonic-name in the SPECIAL-NAMES paragraph. For the COBOL85
compiler, this mnemonic-name is associated with either
$SYSTEM.SYSTEM.CBL85UTL or some other object file containing an object
copy of COBOL85^SPECIAL^OPEN. For the NMCOBOL compiler, this mnemonic-
name is associated with either $SYSTEM.SYSnn.ZCOBSRL or some other object
file containing an object copy of COBOL_SPECIAL_OPEN_.
file-name
is the name of a COBOL data file; that is, a file described in a File Description
entry. It must be an FD name associated with a file-system file name that specifies
a system log (device type 1, subdevice type 0 or 1).
open-type
is a numeric operand whose value (after truncation to an integer value, if
necessary) is 2. The value 2 signifies the opening of a system log file.
exclusion
is a numeric operand that specifies the exclusion attribute for the open operation.
The evaluation of this operand includes, if necessary, truncation to an integer
value. If the parameter is present, its value must be 0 (shared), 1 (exclusive), or 3
(protected); if it is omitted, the routine determines the exclusion attribute from a
command interpreter ASSIGN command (when one applies to the specified FD-
name, or assumes the value 0 (shared) for a system log file otherwise.
ENTER COBOL85^SPECIAL^OPEN
" "
COBOL_SPECIAL_OPEN_
USING
library-reference
file-name
OF
return-codeGIVING
open-type = 2
exclusion
sync-depth time-limits
ns ns
VST349.vsd