Guardian Procedure Calls Reference Manual

OPENINFO Procedure (Superseded by FILE_GETOPENINFO_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
OSS Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The OPENINFO procedure obtains information about the opens of one disk file or of all the files
on a disk device, or of certain nondisk devices. For these nondisk devices, only the pricrtpid
and the backcrtpid parameters contain valid information. Each call returns information about
one open; call OPENINFO successively to learn about all the opens.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
error := OPENINFO ( searchname ! i
,prevtag ! i,o
,[ pricrtpid ] ! o
,[ backcrtpid ] ! o
,[ accessmode ] ! o
,[ exclusion ] ! o
,[ syncdepth ] ! o
,[ file-name ] ! o
,[ accessid ] ! o
,[ validmask ] ); ! o
Parameters
searchname
input
INT:ref:12
is the internal-format file name of the disk volume or disk file whose open information is being
requested.
prevtag
input, output
INT:ref:1
is a number identifying which open was last returned. Before making the first call, the user
must set his prevtagvariable to 0. On subsequent calls, the value is that returned by the
previous call.
OPENINFO Procedure (Superseded by FILE_GETOPENINFO_ Procedure) 925