Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-39
FILE_GETOPENINFO_ 
Obtains information about the opens of one disk file or all the files on a disk device, or 
the opens of certain nondisk devices.
[3:4] Record ID if the lock is a record lock on a file that is not key-sequenced; 
undefined otherwise.
[5] The length in bytes of the key if the lock is a record lock on a key-
sequenced file; 0 otherwise.
[6:n] The key value if the lock is a record lock on a key-sequenced file. 
lock-descr-length INT:value input
participants INT .EXT:ref:* output
[0] Flags. The bits have the following meanings:
<0> = 1
= 0
The participant is identified by process handle.
The participant is identified by transid.
<1:3> = 1
= 0
The lock is granted.
The lock is in the waiting state.
<4> = 1 The lock is an intent lock internally set by DP2.
<5:15> = Reserved.
[1] Reserved.
[2:11] The process handle of the participant (if participants[0].<0> = 1).
The transid of the participant (if participants[0].<0> = 0).
[2:5]
max-participants, INT:value input
locked-name:maxlen, STRING .EXT:ref:*,INT:value output:input
locked-name-length, INT .EXT:ref:1 output
error := FILE_GETOPENINFO_ ( searchname:length
 ,prevtag
 ,[ primary-opener ]
 ,[ backup-opener ]
 ,[ accessmode ]
 ,[ exclusion ]
 ,[ syncdepth ]
 ,[ filename:maxlen ]
 ,[ filenamelen ]
 ,[ accessid ]
 ,[ validmask ] );










