GT.M distributes the LOCK database within space associated with the database files identified by the Global Directory (GD). The Global Directory Editor (GDE) enables you to create and maintain Global Directories.
GT.M maps LOCKs of resource names starting with a caret symbol (^) to the database file used to map variables with the same name. If the Global Directory maps the name ^A to file A.DAT, GT.M maps all LOCKs on resource name ^A to A.DAT.
GT.M maps LOCKs on names not starting with a caret symbol (^) to the region of the database specified with the GDE command LOCKS -REGION. By default, GDE creates Global Directories mapping "local" LOCKs to the region $DEFAULT.
^LOCKS automatically intersect for all users of the same data in any database file, because GT.M associates the ^LOCKs with the same file as the data of the same name.
"Local" LOCK intersections are dependent on the Global Directory, because users may access the database through different Global Directories.