Using change accumulation data sets during forward recovery at a remote recovery site

If you have periodically created change accumulation data sets using CA batch jobs with the ONLY keyword specified, you can use them to forward recover VSAM spheres at a remote recovery site, without having to send a copy of the primary site's RCDS to the remote recovery site.

To forward recover VSAM spheres from these change accumulation data sets, create a standard CICS® VR forward recovery job and add the MVSLOG command with the CA keyword specified.

The example below is of a CICS VR recovery job that forward recovers a VSAM sphere from three change accumulation data sets. See the sections following this example job for a further description of the recovery options.

Figure 1. Example remote site recovery job with CA options
//JOB1 JOB ACCOUNTING INFORMATION,REGION=0M                   1         
//COMMAND  EXEC PGM=DWWCO                                     2         
//STEPLIB  DD DSN=DWW.SDWWLOAD,DISP=SHR                       3         
// DD DSN=DWW.SDWWLENU,DISP=SHR
//DWWCON1  DD DSN=DWW.DWWCON1,DISP=SHR                        4         
//DWWCON2  DD DSN=DWW.DWWCON2,DISP=SHR                        5         
//DWWCON3  DD DSN=DWW.DWWCON3,DISP=SHR                        6         
//DWWMSG   DD SYSOUT=*                                        7         
//DWWPRINT DD SYSOUT=*                                        8         
//DWWLOG   DD DSN=SAMPLE.CA.DATASET.ONE,DISP=SHR              9         
//         DD DSN=SAMPLE.CA.DATASET.TWO,DISP=SHR                         
//         DD DSN=SAMPLE.CA.DATASET.THREE,DISP=SHR                       
//DWWIN   DD *                                                10         
   RECOVER -                                                  11         
        DSN(SAMPLE.VSAM.SPHERE)                                          
   MVSLOG CA                                                  12         
/*                                                                       
// 
1
The JOB statement defines a CICS VR job.
2
The EXEC statement defines a CICS VR job step. This specifies that the CICS VR recovery program DWWCO is to be run. The prefix DWW always refers to a component of CICS VR.
3
The STEPLIB DD statement specifies the name of the CICS VR load library, for example, DWW.SDWWLOAD, used for this job step.
4 , 5, 6
DWWCON1, DWWCON2 and DWWCON3 define the three CICS VR recovery control data sets. In this scenario, these VSAM data sets can be unique to the remote recovery site, and can also be empty.
7
DWWMSG defines the output data set that contains the CICS VR messages. This is usually defined as a SYSOUT data set. The DCB parameters for this data set are RECFM=FBA and LRECL=133. The block size can be provided on the DWWMSG DD statement and must be a multiple of 133. The default is 27930.
8
DWWPRINT defines the output data set that contains the reports produced by CICS VR. This is usually defined as a SYSOUT data set. The DCB parameters for this data set are RECFM=FBA and RECL=133. The block size can be provided on the DWWPRINT DD statement and must be a multiple of 133. The default is 27930.
9
DWWLOG defines the change accumulation data sets that CICS VR uses to forward recover the specified VSAM sphere.
10
DWWIN defines the data set that contains the CICS VR commands. You can either specify a sequential data set with 80-byte, fixed-length records, or include the CICS VR commands in-stream as shown.
11
The RECOVER command specifies that VSAM sphere SAMPLE.VSAM.SPHERE is forward recovered by CICS VR.
12
On the MVSLOG command:
  • The CA keyword specifies that only change accumulation data sets specified in the DWWLOG DD statement are used to forward recover the specified VSAM sphere. See Using change accumulation in a remote site recovery scenario for an example of a batch job that creates the required change accumulation data sets.

Information Information

Feedback


Timestamp icon Last updated: Friday, 7 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///dwwig/dwwig000132.html