## OBJECTLOCKS

### Definition

The OBJECTLOCKS system table contains object locks and object lock requests.

### Structure

OBJECTLOCKS

OBJECTID | CHAR(25) | Object ID
HOLDERTASKID | FIXED(10) | Task that holds the lock or NULL, if a request is described
REQUESTORTASKID | FIXED(10) | Task that waits for the lock or NULL, if a lock owner is described
LOCKMODE | CHAR(10) | Type of lock (SHARE | EXCLUSIVE)
FILEID | FIXED(20) | ID of the container containing the object identified by the OBJECTID