Recoverable coupling facility data table records can be the subject of retained locks, like any other recoverable CICS® resource that is updated in a unit of work that subsequently fails.
A recoverable CFDT supports in-doubt and backout failures. If a unit of work fails when backing out an update to a CFDT, or if it fails in-doubt during syncpoint processing, the locks are converted to retained locks and the unit of work is shunted. If a CFDT record is locked by a retained lock, an attempt to modify the record fails with the LOCKED condition. This can be returned on the following API file control requests issued against CFDT records:
To resolve retained locks against CFDT records, use the CEMT INQUIRE UOWLINK command to find the unresolved units of work associated with links to the coupling facility data table pool containing the table. When you have found the UOW links, take the appropriate action to resolve the link failure or force completion of the UOWs.
The owner of the failed UOW could be another CICS region in the sysplex, and the cause of the retained lock could be one of the following: