Open System Services System Calls Reference Manual (G06.28+)

System Functions (s and S) SPT_FILE_OPEN_(2)
1 Read only
2 Write only
3 Extend (supported only for tape)
The default is 0 (zero).
exclusion Species the desired mode of compatibility with other openers of the
le. Valid
values are:
0 Shared
1 Exclusive
2 Process exclusive
3 Protected
The default is 0 (zero).
nowait_depth Species whether input/output operations are to be nowait. If present and not 0
(zero), this parameter species the number of nowait I/O operations that can be
in progress for the le concurrently with other processing. The maximum value
is 1 for disk les and $RECEIVE. The maximum value is 15 for other objects,
except for the TMF transaction pseudole (TFILE), which has a maximum of
1000. (Refer to the TMF Application Programmers Guide for details about the
TFILE.)
If this parameter is omitted or 0 (zero), I/O operations are waited.
sync_or_receive_depth
The purpose of this parameter depends on the type of device being opened:
disk file Species the number of nonretryable (that is, write) requests
whose completion the Guardian le system must remember. A
value of 1 or greater must be specied to recover from a path
failure occurring during a write operation. This value also
implies the number of write operations that the primary process
in a process pair can perform to this le without intervening
checkpoints to its backup process. For disk les, this parameter
is called sync depth. The maximum value is 15.
If omitted, or if 0 (zero) is specied, internal checkpointing does
not occur. Disk path failures are not automatically retried by the
le system.
$RECEIVE file
Species the maximum number of incoming messages read by
the SPT_READUPDATEX() function that the application pro-
cess is allowed to queue before corresponding reply operations
must be performed. If omitted or 0 (zero),
SPT_READUPDATEX() and reply operations to $RECEIVE
are not permitted. For $RECEIVE, this parameter is called
receive depth, and the maximum number of queued incoming
messages is 4047.
527186-005 Hewlett-Packard Company 7137