Files
All file control state data and resource definitions are recovered in the same way as on a warm start.
- Reconnecting to SMSVSAM for RLS access
- As on a warm restart, CICS® connects to the SMSVSAM server. In addition to
notifying CICS about
lost locks, VSAM also informs CICS of the units of work belonging to
the CICS region
for which it holds retained locks. See Lost locks recovery for
information about the lost locks recovery process for CICS.
CICS uses the information it receives from SMSVSAM to eliminate orphan locks.
- RLS restart processing and orphan locks
- CICS emergency
restart performs CICS-RLS restart processing during which orphan locks are
eliminated. An orphan lock is one that is held by VSAM RLS on behalf of a
specific CICS but
unknown to the CICS region,
and a VSAM interface enables CICS to detect units of work that are associated with
such locks.
Orphan locks can occur if a CICS region acquires an RLS lock, but then fails before logging it. Records associated with orphan locks that have not been logged cannot have been updated, and CICS can safely release them.
Note: Locks that fail to be released during UOW commit processing cause the UOW to become a commit-failed UOW. CICS automatically retries commit processing for these UOWs, but if the locks are still not released before the CICS region terminates, these also are treated as orphan locks during the next restart. - Recreating non-RLS retained locks
- Recovery is the same as for a warm restart. See Recreating non-RLS retained locks for details.