System initialization (DFHTCRP, DFHAPRDR and DFHTBSS)
The DFHTCRP program is responsible for reestablishing TCTTEs that
were in existence in the previous CICS run. There are three stages
of processing in DFHTCRP:
- Initialize DFHZCQ and DFHAPRDR, then exit if START=COLD
- Reestablish TCTTEs recorded in the CICS catalog calling DFHZCQ for each one.
- Call DFHAPRDR to allow it to proceed and forward-recover in-flight updates to TCTTEs recorded in the system log at emergency restart.
The DFHAPRDR program is called by DFHTCRP in two phases:
- To initialize its control blocks.
- To wait until Recovery Manager has delivered any inflight log records and DFHAPRDR (running on another task) has called DFHTBSS to recover them.
The DFHTBSS program is called by DFHAPRDR with log records for TCT updates that were being written to the catalog when CICS failed. It then calls DFHZCQ to reinstall or delete the entries that the log records represent.