ROUTE *ALL,VARY SMS,SMSVSAM,TERMINATESERVER
8. When all SMSVSAM servers were down, we deleted the IGWLOCK00 lock
structure with the MVS command:
VARY SMS,SMSVSAM,FORCEDELETELOCKSTRUCTURE
9. We restarted the SMSVSAM servers with the MVS command:
ROUTE *ALL,VARY SMS,SMSVSAM,ACTIVE
CICS was informed during dynamic RLS restart about the data sets for which
it must perform lost locks recovery. CICS issued messages such as the
following to inform you that lost locks recovery was being performed on one
or more data sets:
+DFHFC0555 ADSWA04A One or more data sets are in lost locks status.
CICS will perform lost locks recovery.
10. If we had quiesced data sets before terminating the servers, this is the point at
which we would unquiesce those data sets before proceeding.
If there were many data sets in lost locks it would take some time for lost
locks recovery to complete. It may be necessary to explicitly open files which
suffer open failures during lost locks recovery.
11. At this point it was possible that there were data sets on the restored volume
which did not require forward recovery. In order to make these data sets
available, we needed to re-allow access to the volume. Before doing this,
however, we first had to quiesce the data sets that still required forward
recovery, thus transferring the responsibility of preventing backouts from
SMSVSAM to CICS. In our example, we quiesced our two data sets using the
CEMT commands:
SET DSN(RLSADSW.VF04D.DATAENDB) QUIESCED
SET DSN(RLSADSW.VF04D.TELLCTRL) QUIESCED
12. When we were sure that all data sets requiring forward recovery were
quiesced, we used the following MVS command to allow access to the
restored volume:
VARY SMS,CFVOL(9S4186),ENABLE
The above command produced the following message:
IGW463I DFSMS CF CACHE REQUEST TO ENABLE
VOLUME 9S4186 IS COMPLETED.
DFSMS CF VOLUME STATUS = "CF_ENABLED"
13. At this point, all data sets were available for new work except the two
quiesced data sets on the restored volume. We recovered these using CICSVR.
All CICS regions were automatically notified when CICSVR processing for
each data set was complete, and each data set was automatically unquiesced
by CICSVR to allow the backout shunted UOWs to be retried.
After all backout shunted UOWs were successfully retried, the recovery was
complete and we re-enabled the recovered data sets for general access on each
CICS region using the CEMT commands:
SET FILE(F04DENDB) ENABLED
SET FILE(F04DCTRL) ENABLED
14. Finally, we used the SHCDS command LISTSUBSYS(ALL) to confirm that no
CICS region had lost locks recovery outstanding, indicating that recovery was
complete.
Catalog recovery
If a user catalog is lost, follow the procedures documented in DFSMS/MVS
Managing Catalogs. Before making the user catalog available, run the SHCDS
CFREPAIR command to reconstruct critical RLS information in the catalog. Note
Chapter 17. Forward recovery procedures 197