CLEAR-GROUP-LOCKS Command

The CLEAR-GROUP-LOCKS command clears the group locks in the system group locks table.

Format

CLEAR-GROUP-LOCKS

Description

Group locks are set by the operating system. Data in a locked group cannot be updated by others while a user is reading or writing to it, or while they are being saved. Group locks are set, for example, by the FILE-SAVE command, and by the READ, READV, and MATREAD statements in mvBASIC. Group locks are normally cleared automatically when the commands that set them have finished executing.

The group lock table holds information about all currently locked groups. The WHAT command displays the current status of the group locks.

The CLEAR-GROUP-LOCKS statement cannot be executed from a Proc.

CAUTION

Use this command with caution: it overrides the protection provided by the operating system to prevent data corruption and Group Format Errors (GFEs).

For more information about group locks, see the mvBASIC User Reference Guide. See also the LIST-ITEM-LOCKS Command.