Connect CDC (SQData) can also capture Batch VSAM updates but with an additional prerequisite: IBM's CICS VSAM Recovery (CICS VR) Version 5.1 or later is required to replicate changes made by batch jobs outside of CICS Transaction Server.
-
Use
IDCAMS
to add the LOGSTREAMID with the LogStream name previously created and LOGREPLICATE and FRLOG parameters to the VSAM files Cluster specification in the ICF catalog entry for each VSAM file to be captured.
Example:

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER SQDATA.CICS.FILEA -
LOGSTREAMID(SQDATA.VSAMCDC.LOG1) -
LOGREPLICATE
FRLOG(REDO|UNDO|ALL)
Where the value of the
FRLOG parameter may not be ( ) Null but rather one of the following:
- REDO - recoverable by forward recovery
- UNDO - recoverable by backout (minimum required value)
- ALL - recoverable by backout and forward recovery
-
CICS VR must be authorized to access the specified recovery LogStream.