Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual522629-013
11-53
OPENINFO Procedure
(Superseded by FILE_GETOPENINFO_ Procedure )
exclusion output
INT:ref:1
is the exclusion mode with which the file is open. The codes are:
0shared
1 exclusive
2 process exclusive (supported only for Optical Storage Facility)
3protected
syncdepth output
INT:ref:1
is the sync depth specified when the file was opened.
file-name output
INT:ref:12
is the internal-format file name of the file which is open. This is of use when the
searchname specified was not a file name.
accessid output
INT:ref:1
is the process access ID (user ID) of the opener at the time the open was done.
validmask output
INT:ref:1
returns a value indicating which of the information parameters had valid
information returned. Each parameter has a corresponding bit in this value set to
true if the parameter is valid for the device, as follows:
<0> pricrtpid
<1> backcrtpid
<2> accessmode
<3> exclusion
<4> syncdepth
<5> file-name
<6> accessid