A special case: lost locks
If a lost locks condition occurs, any affected data set remains in a lost locks state until all CICS® regions have completed lost locks recovery for the data set.
Lost locks recovery is complete when all uncommitted changes, which were protected by the locks that were lost, have been committed. Therefore, after a lost locks condition occurs, you may need to follow the same procedures as those for preparing for batch jobs (described in The batch-enabling sample programs) to ensure that the data set is made available again as soon as possible. Preserving data integrity should be the priority, but you may decide to force indoubt units of work and to reset locks in order to make the data set available sooner.
During lost locks recovery, CICS issues message DFHFC0557, which displays the number of lost locks that have already been recovered and total number of lost locks.