Library /sys$common/syshlp/helplib.hlb  —  SET  RMS_DEFAULT, Qualifiers  /QUERY_LOCK
       /QUERY_LOCK=keyword [/SYSTEM]

    Enables or disables query locking at the process and system
    levels.

    The following table lists valid PROCESS keywords (/SYSTEM not
    specified):

    Keyword        Description

    DISABLE        Disable query locking for the duration of any
                   file opens done by images within the process for
                   any read ($GET or $FIND) record operations that
                   have both RAB$V_NLK (no lock) and RAB$V_RRL (read-
                   regardless) set in the RAB$L_ROP field of the RAB
                   (Record Access Block). Disabling query locking
                   directs RMS not to make any calls to the lock
                   manager for a read record operation just to find
                   out whether a record is locked by another stream.
    ENABLE         Use RMS's default record locking for images run
                   within this process.
    SYSTEM_        Use system setting. Note that this keyword is
    DEFAULT        disallowed with /SYSTEM.
    (default)

    The following table lists valid SYSTEM keywords (/SYSTEM also
    specified):

    Keyword        Description

    DISABLE        Disable query locking for the duration of any
                   file opens done by images on the system for any
                   read ($GET or $FIND) record operations that have
                   both RAB$V_NLK (no lock) and RAB$V_RRL (read-
                   regardless) set in the RAB$L_ROP field of the RAB
                   (Record Access Block). Disabling query locking
                   directs RMS not to make any calls to the lock
                   manager for a read record operation just to find
                   out whether a record is locked by another stream.
    ENABLE         Use RMS's default record locking for images run
    (default)      within this process.

    There is no system parameter associated with the QUERY_LOCK
    setting.
Close Help