LMLM gate, LOCK function
The LOCK function of the LMLM gate is used to request 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
- WAIT
- Optional Parameter
- indicates whether a task is suspended (CICS) or a LOCK_BUSY is to be returned as a reason output parameter (NO).
- Values for the parameter are:
- CICS
- NO
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- INSUFFICIENT_STORAGE
- LOOP
- The following values are returned when RESPONSE is EXCEPTION:
- DUPLICATE_LOCK_OWNER
- LOCK_BUSY
- LOCK_TOKEN_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.