VA FileMan V. 22.2 Programmer Manual Banner


 

Main Section User Manual Advanced User Manual

Database Server (DBS) API


LOCK^DILF(): Lock Global Reference 

Reference Type Category ICR #
Supported Database Server (DBS) 2054
Description

The LOCK^DILF API locks a global reference using VA FileMan's Lock time out value (DILOCKTM).

Format
    LOCK^DILF(closed_root)
Input Parameter
closed_root:

(Required) A closed root, which is a global root ending in a close parenthesis.

Output

$Truth value:

Example

Figure 189: LOCK^DILF API—Example: Input and Output

    >D LOCK^DILF("^MYFILE(123,1,0)") <Enter>
    >W $T <Enter>
    1
    >W DILOCKTM <Enter>
    3

 


Reviewed/Updated: June 2026

If you have questions, need more information, or are having accessibility problems with this Web site, please contact us by E-Mail: Webmasters