LOCks

The LOCKS command specifies the region into which GT.M maps locks on resource names not starting with a caret symbol (^). GDE maps locks on resource names, starting with a caret symbol (^), to the database region specified for that global variable name matching the resource name.

The format of the LOCKS command is:

    LOC[KS] /R[EGION]=region-name
    

The LOCKS /REGION= qualifier allows specification of a region for local locks. By default, GDE maps local locks to the default region $DEFAULT.

Example:

    
            
    GDE> LOCK/REGION=MAIN
    
    
    
         

This command maps all locks on resource names that do not start with a caret symbol (^) to region MAIN.