Guardian Procedure Calls Reference Manual

Parameters
searchname:length
input:input
STRING .EXT:ref:*, INT:value
specifies the name of the disk file, volume, device, or subdevice about which open information
is to be returned. The value of searchname cannot be a DEFINE name. If the name is partially
qualified, it is resolved using the =_DEFAULTS DEFINE.
prevtag
input, output
FIXED .EXT:ref:1
is a value identifying the open that was last returned. Before the first call, initialize prevtag
to 0; on subsequent calls, pass the parameter unchanged.
primary-opener
output
INT .EXT:ref:10
is the process handle of the (primary) process that has the file open.
backup-opener
output
INT .EXT:ref:10
is the process handle of the backup opener process associated with the primary open. A null
process handle (-1 in each word) is returned if there is no backup opener.
accessmode
output
INT .EXT:ref:1
is the access mode with which the file is open. The values are:
read-write0
read only1
write only2
exclusion
output
INT .EXT:ref:1
is the exclusion mode with which the file is open. The values are:
shared0
exclusive1
process exclusive (supported only for Optical Storage Facility)2
protected3
syncdepth
output
INT .EXT:ref:1
is the sync depth that was specified when the file was opened.
440 Guardian Procedure Calls (F)