The jomUnlockObject call, shown in the following example, is used to remove the lock placed on the object whose object identifier is specified in the pOid parameter.
int jomUnlockObject(const DskHandle *pHandle, const DskObjectId *pOid, UInt32 lineNo)
The jomUnlockObject call has no effect inside transaction load or lock states. All locked objects for a specified process are automatically unlocked at the corresponding end transaction, end load, or end lock time.
The parameters for this call are described in the following subsections.