FCCA gate, RELEASE_LOCKS function
This function releases all locks for the unit of work (UOW). CICS® issues an IDALKREL request to SMSVSAM as part of commit processing at the end of every UOW. This request causes VSAM to release all locks owned by that UOW.
Input Parameters
- LUWID
- A fullword pointer to an IFGLUWID structure containing the ID for the unit of work.
- RESTART
- Optional Parameter
- Indicates whether the call was issued by file control restart.
Values for the parameter are:
- YES
- NO
Output Parameters
- ACCMETH_RETURN_CODE
- A 2-byte code returned by SMSVSAM.
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- VSAM_REQUEST_ERROR
- RLS_FAILURE
- The following value is returned when RESPONSE is DISASTER:
- ABEND
- 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