FCCR gate, UNLOCK function
This function unlocks a record previously read for update in a coupling facility data table (CFDT).
Input Parameters
- BUFFER
- The input buffer for read requests.
- KEY
- The 16-byte key of the record to be unlocked.
- TABLE_NAME
- This 16-character field contains the 8-character name of the CFDT and is padded with trailing blanks.
- TABLE_TOKEN
- The token returned by the OPEN function, which must be passed on all subsequent requests against that open table.
- TRANSACTION_NUMBER
- This 4-character string identifies the requesting task in the debug trace, if used.
- UOW_ID
- This 8-character string specifies the unit of work ID. The unit of work ID is required when updating using the locking model.
- UPDATE_TOKEN
- The token returned by the preceding read for update.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- SERVER_CONNECTION_FAILED
- RECORD_NOT_FOUND
- RECORD_CHANGED
- TABLE_LOADING
- INVALID_REQUEST
- UPDATE_TOKEN_INVALID
- TABLE_TOKEN_INVALID
- TABLE_DESTROYED
- UOW_NOT_IN_FLIGHT
- POOL_STATE_ERROR
- CF_ACCESS_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- Values for the parameter are:
- OK
- EXCEPTION
- DISASTER
- INVALID
- KERNERROR
- PURGED