To verify change data capture
- Make sure that the component configuration and environment preparation activities have been completed.
- Execute an IMS online transaction, updating the candidate segments that are to be captured
- Execute a BMP program, updating the candidate segments that are to be captured.
- Execute a DL/I Batch program, updating the candidate segments that are to be captured.
- REPRO (using IDCAMS) the System LogStream dataset to view the records. You should see the changed data records for the files that were updated. The contents of the captured changed data records can be viewed and verified using JCL similar to sample member IXCMCOPY included in the distribution. The JCL should be edited to conform to the operating environment.
Note: The parameter SUBSYS=(LOGR)specifies that the input to IDCAMS is a LogStream where the physical file names will have system generated prefix and suffix added to the LogStream name specified at creation, in our example "SQDATA.IMSC.LOG1". Depending on your system configuration you may find the physical file names prefixed with "IXGLOGR".
//IXCMCOPY JOB 1,MSGLEVEL=(1,1),MSGCLASS=H,NOTIFY=&SYSUID
//*
//*--------------------------------------------------------------------\
//* Dump the Contents of a System Logstream
//*--------------------------------------------------------------------
//*********************************************************************
//*
//REPRO EXEC PGM=IDCAMS,REGION=2M
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INFILE(INLOG) OUTFILE(OUTFILE)
/*
//INLOG DD SUBSYS=(LOGR),
// DSN=SQDATA.IMSCDC.LOG1,
// DCB=(BLKSIZE=4096,RECFM=VB)
/*
//OUTFILE DD DISP=SHR,DSN=SQDATA.REPRO
If above tests work as described, the Precisely IMS Log Reader Capture is installed and configured properly. If you have problems with any of the steps, go back through the Implementation Checklist and Configuration sections to verify that all of the steps have been completed.