UNLOCK-FUNCTION
This function unlocks any locked records held by the current process in the passed file. It does not affect the current file position or key of reference.
RETURN-CODE is set to zero on failure.
Syntax
SET UNLOCK-FUNCTION TO TRUE CALL "I$IO" USING IO-FUNCTION f GIVING returnCode |
Parameters:
Return code:
returnCode can be any signed numeric data item and provides additional information:
>0 | Operation successful. |
0 | Operation failed. |