The CLEAR.LOCKS command releases task locks.
@SYSTEM.RETURN.CODE is set to the lock number if releasing a single lock or 64 if releasing all locks. Errors result in negative error code values.
Released task lock 5
This example shows the CLEAR.LOCKS command used to release a specific task lock.
All task locks released
This command releases all task locks held by the process.