KI_LOCK_ALL
Argument | Enumeration | Purpose |
---|---|---|
handle | Handle | |
bToggle | TRUE for lock, FALSE for unlock | |
part_number | Partition number that caused the function to fail |
KI_LOCK_ALL
This will attempt to lock or unlock all the rows of a table in one operation. The toggle parameter is TRUE to lock and FALSE to unlock. If the call fails with error code KE_LOCKED the KI_LOCK_OWNER can be used on Unix systems to see the first KCML process whose own lock prevented the call succeeding.