IBM SC34-7012-01 Server User Manual


 
work. Assuming that all CICS regions are active, and there are no indoubt
UOWs, lost locks processing, for all data sets except the ones on the failed
volume, should complete quickly.
9. In this example, CEMT INQUIRE UOWDSNFAIL on CICS region ADSWA01D
showed UOW failures only for the RLSADSW.VF04D.TELLCTRL and
RLSADSW.VF04D.DATAENDB data sets:
INQUIRE UOWDSNFAIL
STATUS: RESULTS
Dsn(RLSADSW.VF04D.TELLCTRL ) Dat Ope
Uow(ADD18C2DA4D5FC03) Rls
Dsn(RLSADSW.VF04D.DATAENDB ) Dat Ope
Uow(ADD18C2E693C7401) Rls
The command INQUIRE DSN(RLSADSW.VF04D.DATAENDB) on the same
region showed that the lost locks status for the data set was Recoverlocks.
This meant that the data set had suffered lost locks and that CICS region
ADSWA01D had recovery work to complete:
INQUIRE DSN(RLSADSW.VF04D.DATAENDB)
RESULT - OVERTYPE TO MODIFY
Dsname(RLSADSW.VF04D.DATAENDB)
Accessmethod(Vsam)
Action( )
Filecount(0001)
Validity(Valid)
Object(Base)
Recovstatus(Fwdrecovable)
Backuptype()
Frlog(00)
Availability( Available )
Lostlocks(Recoverlocks)
Retlocks(Retained)
Quiescestate()
Uowaction( )
Basedsname(RLSADSW.VF04D.DATAENDB)
Fwdrecovlsn(ADSW.CICSVR.F04DENDB)
10. At this point, all data sets were available for new work except the two data
sets on the failed volume. It was now possible to recover these using CICSVR.
For information on using CICSVR see Forward recovery with CICS VSAM
Recovery and the CICSVSAM Recovery User's Guide and Reference.
11. All CICS regions are automatically notified when CICSVR processing for a
data set is complete. CICSVR preserves the lost locks state for the recovered
data set and CICS disallows all new update requests until all CICS regions
have completed lost locks recovery. When all CICS regions have informed
SMSVSAM that they have completed their lost locks recovery, the data set lost
locks state changes to Nolostlocks.
12. At this point recovery was complete and the recovered data sets were
re-enabled for general access by issuing (through the CICSPlex SM
“LOCFILES” view) the CEMT commands:
SET FILE(F04DENDB) ENABLED
SET FILE(F04DCTRL) ENABLED
These commands are issued to each CICS AOR that requires access.
13. All data sets were now available for general access. We confirmed this using
the SHCDS subcommand LISTSUBSYS(ALL), which showed that no CICS
region had lost locks recovery outstanding.
If you follow the above example, but find that a CICS region still has a data set in
lost locks, you can investigate the UOW failures on that particular CICS region
using the CEMT commands INQUIRE UOWDSNFAIL and INQUIRE UOW. For
indoubt UOWs that have updated a data set that is in a lost locks condition, CICS
Chapter 17. Forward recovery procedures 195