IBM SC34-7012-01 manual We terminated the SMSVSAM servers using the MVS command

Models: SC34-7012-01

1 268
Download 268 pages 41.5 Kb
Page 205
Image 205

PIDS/565501800 LVLS/510 MS/DFHFC0152 RIDS/DFHFCCA PTFS/UN92873 REGS/GR15 VALU/00000008 PCSS/IDARETLK PRCS/000000A9

+DFHFC0312 ADSWA03A Message DFHFC0152 data set RLSADSW.VF04D.DATAENDB

We used the CEMT command INQUIRE UOWDSNFAIL IOERROR to display the UOWS that were shunted as a result of the I/O errors. For example, on the CICS region ADSWA01D the command showed the following shunted UOWs:

INQUIRE UOWDSNFAIL IOERROR

 

STATUS: RESULTS

 

Dsn(RLSADSW.VF04D.TELLCTRL

) Dat Ioe

Uow(ADD18C2DA4D5FC03)

Rls

Dsn(RLSADSW.VF04D.DATAENDB

) Dat Ioe

Uow(ADD18C2E693C7401)

Rls

2.The next step was to stop the I/O errors by closing the RLS-mode files that were open against failed data sets. In our example, file F04DENDB was open against data set RLSADSW.FV04D.DATAENDB, and file F04DCTRL was open against data set RLSADSW.FV04D.TELLCTRL.

The normal way of closing RLS-mode files across a sysplex is to quiesce the data set using the CEMT command SET DSNAME QUIESCED in one CICS region. However, the quiesce operation requires access to the data set, and fails if the data set cannot be accessed. The alternative is to issue the SET

FILE(F04DENDB) CLOSED and SET FILE(F04DCTRL) CLOSED commands, which we did using CICSPlex® SM to send the command to all the relevant regions. (Without CICSPlex SM, issue the CEMT SET FILE CLOSED command to each CICS region individually, either from the MVS console or from a CICS terminal).

3.To enable CICSVR to recover the failed data sets, we first deleted the catalog entries for the two affected data sets using the IDCAMS DELETE command:

DELETE RLSADSW.VF04D.TELLCTRL NOSCRATCH DELETE RLSADSW.VF04D.DATAENDB NOSCRATCH

4.The impact of the recovery process is greater if there are inflight tasks updating RLS mode files. For this reason, it is recommended at this point that you quiesce the data sets that are being accessed in RLS mode on other volumes before terminating the SMSVSAM servers. To determine which data sets are being accessed in RLS-mode by a CICS region, use the SHCDS LISTSUBSYSDS subcommand. For example, the following command lists those data sets that are being accessed in RLS-mode by CICS region ADSWA01D:

SHCDS LISTSUBSYSDS(’ADSWA01D’)

For the purpose of this example, we did not quiesce data sets; hence there is no sample output to show.

Note: You can issue SHCDS subcommands as a TSO command or from a batch job.

5.We terminated the SMSVSAM servers using the MVS command:

ROUTE *ALL,VARY SMS,SMSVSAM,TERMINATESERVER

We received message IGW572 on each MVS image confirming that the servers are terminating:

IGW572I REQUEST TO TERMINATE SMSVSAM ADDRESS SPACE IS ACCEPTED:

SMSVSAM SERVER TERMINATION SCHEDULED.

In our example, terminating the servers caused abends of all in-flight tasks that were updating RLS-mode data sets. This, in turn, caused backout failures and shunted UOWs, which were reported by CICS messages. For example, the

Chapter 17. Forward recovery procedures 193

Page 205
Image 205
IBM SC34-7012-01 manual We terminated the SMSVSAM servers using the MVS command