LMLM gate, UNLOCK function
The UNLOCK function of the LMLM gate is used to release the lock.
Input Parameters
- LOCK_TOKEN
- is the token returned to the caller on the ADD_LOCK call.
- MODE
- defines the type of lock.
- Values for the parameter are:
- EXCLUSIVE
- SHARED
- OWNER_TOKEN
- Optional Parameter
- defines the owner of the lock.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOOP
- The following values are returned when RESPONSE is EXCEPTION:
- LOCK_TOKEN_NOT_FOUND
- NOT_LOCK_OWNER
- SHARED_LOCK_FREE
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.