COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-63
COBOL_SPECIAL_OPEN_
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); otherwise the routine assumes the value 3 (protected) when the open
mode is Input or assumes the value 1 (exclusive) for any other open mode.
sync-depth
is a numeric operand that specifies the sync-depth attribute for the open operation.
The evaluation of this operand includes, if necessary, truncation to an integer
value. If this parameter is present, it must be in the range 0 through 255. If it is
omitted, the value assumed depends on the nature of the file.
time-limits
is a numeric operand that specifies the TIME-LIMITS attribute for the open
operation. The evaluation of this operand includes, if necessary, truncation to an
integer value. The presence of a nonzero value for this parameter is equivalent to
the presence of a TIME LIMITS phrase with a nonzero value in an ordinary OPEN
statement. If the parameter is omitted, the routine uses a value of zero, which has
no effect.
open-mode
is a numeric operand that specifies the open mode attribute for the open operation.
The evaluation of this operand includes, if necessary, truncation to an integer
value. If this parameter is supplied, its value must be one of:
mount-messages
is the name of a data item that describes the name of the file to be used for tape
mount messages. The file name must be left-justified and in Guardian external
format with no trailing spaces. Reference modification can give the length of the
name. The file must be a process or terminal.
If mount-messages is omitted, tape mount messages are written to the
execution log file.
Value Open Mode
0 Input (default)
1 Input-Output
2 Output
3Extend










