If you want to periodically create change accumulation data sets and send them for use during forward recovery processing at a remote recovery site, you can consider using change accumulation with the options described in this section.
Up to this point, the process of change accumulation has been described in a way that is mainly suitable for creating change accumulation data sets for use during forward recovery processing at the primary site.
The sample CA job below is an example of running a change accumulation job with options that consolidates all log records found for all VSAM spheres on MVS™ log stream SAMPLE.FWDRECV.LOGSTRM.
The first time this change accumulation job is run, all log records found for all VSAM spheres from the beginning of the log stream, up to the time the job was submitted, are consolidated.
Every subsequent time this job is run, all log records found for all VSAM spheres from the point on the log stream where the previous CA job ended, up to the time the current job was submitted, are consolidated.
The consolidated log records are placed in the change accumulation data set specified in the DWWCA DD statement. See the sections following this example job for a further description of the change accumulation options.
//JOB1 JOB ACCOUNTING INFORMATION,REGION=0M 1
//COMMAND EXEC PGM=DWWCA 2
//STEPLIB DD DSN=DWW.SDWWLOAD,DISP=SHR 3
//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
//DWWSORT DD SYSOUT=* 9
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 10
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 11
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 12
//DWWCA DD DSN=SAMPLE.CA.DATASET.ONE,DISP=(NEW,CATLG), 13
// UNIT=3390,VOL=SER=VOLUM1,SPACE=(CYL,(10,10)),
// DCB=(RECFM=VB,LRECL=32752,BLKSIZE=32756)
//DWWIN DD * 14
CA GROUP(GROUPONE) - 15
ONLY(SAMPLE.FWDRECV.LOGSTRM)
SPHERE - 16
ALL
/*
//