IBM SC34-7012-01 manual Example of recovery using data set backup

Models: SC34-7012-01

1 268
Download 268 pages 41.5 Kb
Page 204
Image 204

This clears the SMSVSAM CFVOL-QUIESCED state and allows SMSVSAM RLS access to the volume. CICS ensures that access is not allowed to the data sets that will eventually be forward recovered, but the volume is available for other data sets.

6.Run data set forward recovery jobs.

The following two examples show forward recovery after the loss of a volume, based on the procedure outline above:

Example of recovery using data set backup:

For this illustration, involving two data sets, we simulated the loss of a volume by varying the volume offline. The two data sets (RLSADSW.VF04D.DATAENDB and RLSADSW.VF04D.TELLCTRL) were being updated in RLS mode by many CICS AORs at the time the volume was taken offline. The CICS file names used for these data sets were F04DENDB and F04DCTRL.

The failed data sets were recovered onto another volume without first recovering the failed volume. For this purpose, you have to know what data sets are on the volume at the time of the failure. In “Example of recovery using volume backup” on page 196, we describe the recovery process by performing a volume restore before the forward recovery of data sets. Here are the steps followed in this example:

1.We simulated the volume failure using the MVS command:

ROUTE *ALL,VARY 4186,OFFLINE,FORCE

The loss of the volume caused I/O errors and transaction abends, producing messages on the MVS system log such as these:

DFHFC0157 ADSWA04B 030

TT1P 3326 CICSUSER An I/O error has occurred on base data set RLSADSW.VF04D.TELLCTRL accessed via file F04DCTRL component code X’00’.

DFHFC0158 ADSWA04B 031

96329,13154096,0005EDC00000,D,9S4186,A04B ,CICS ,4186,DA,F04DCTRL,86- OP,UNKNOWN COND. ,000000A5000403,VSAM

DFHFC0157 ADSWA03C 301

DE1M 0584 CICSUSER An I/O error has occurred on base data set RLSADSW.VF04D.DATAENDB accessed via file F04DENDB component code X’00’.

DFHFC0158 ADSWA03C 031

...

As a result of the transaction abends, CICS attempted to back out in-flight UOWs. The backouts failed because CICS couldn't access the data sets on the lost volume. The associated backout failures were reported by CICS, as follows:

+DFHFC4701 ADSWA03A 336

11/24/96 13:15:48 ADSWA03A Backout failed for transaction DE1H, VSAM file F04DENDB, unit of work X’ADD18C07DCB70A05’, task 46752, base RLSADSW.VF04D.DATAENDB, path RLSADSW.VF04D.DATAENDB, failure code X’24’.

+DFHFC0152 ADSWA03A 339

11/24/96 13:15:49 ADSWA03A ???? DE1H An attempt to retain locks for data set within unit of work X’ADD18C07DCB70A05’ failed. VSAM return code X’00000008’ reason code X’000000A9’.

+DFHME0116 ADSWA03A 340

(Module: DFHMEME) CICS symptom string for message DFHFC0152 is

192CICS TS for z/OS 4.1: Recovery and Restart Guide

Page 204
Image 204
IBM SC34-7012-01 manual Example of recovery using data set backup