Skip to content
IRI Logo
Solutions Products
  • Solutions
  • Products
  • Blog
  • BI
  • Big Data
  • DQ
  • ETL
  • IRI
    • IRI Business
    • IRI Workbench
  • Mask
  • MDM
    • Master Data Management
    • Metadata Management
  • Migrate
    • Data Migration
    • Sort Migration
  • Test Data
  • Transform
  • VLDB
  • VLOG

Creating Change Data Capture Reports in IRI Workbench

  • by Claudia Irvine

There is now a bulk/batch Change Data Capture (CDC) wizard in the IRI Workbench GUI for Voracity, built on Eclipse™. This new graphical report builder compares previous and current data sources based on a flag field you select, and gives you the option of producing five different targets — Cumulative, Delete, Equal, Insert, and Update — or any combination thereof.

As this how-to article shows, the new CDC wizard also allows you to select a delta field where you can add a text description of your transaction type. In this example, I’m specifying “DELETE”, “EQUAL”, “INSERT”, and “UPDATE” in my Cumulative report.

On the input screen, you enter the two data sources (tables or files), and the format and metadata available (or that you create) for each. You also enter the field that is your flag for each data file. In this case, we use checksum, but it could be a transaction date, etc.

The next page is where you enter the join condition:

On the final output page, you specify the targets, formats, and metadata for each report type you want produced. You can select as many report types as needed. You can also select a delta if your report has a description of that transaction type.

Because you may have standard company terminology you need to use, you can type in your delta description. In this case, I only need that description in the cumulative report. Note that I can use conditional /INCLUDE logic for incremental reports on flat files like these, and for database sources, /QUERY logic, as shown in this example of incremental data replication in an IRI job script.

When you click ‘Finish’ the wizard produces a single CoSort SortCL job script that Voracity users can schedule or run from the GUI or in a command-line or batch environment.

The script contains multiple /CONDITION statements to differentiate the type of transaction. The DELTA_FLAG field in my Cum.data output file contains an If-Then-Else statement that determines which delta description to use. The other report outputs use Include and Omit statements to pull the proper transaction type into the report:

The script can be modified to add headers, counts, formatting, etc. to your report — even cross-calculations that would show the differences in values between ‘previous’ and ‘current.’ After modifying my script to add a header and running the script, my output for the Cumulative report looks like this:

For more information on Change Data Capture (CDC) in Voracity and why it’s a better approach to DB-log-based CDC, visit:
http://www.iri.com/solutions/business-intelligence/embedded-bi/change-data-capture

Scheduling Jobs in IRI Workbench
Intra-Cell Search & Mask Feature of IRI CellShield EE [video]
CDC Change Data Capture compare data sources Eclipse graphical report builder GUI IRI CoSort IRI Voracity IRI Workbench JSON SortCL wizard

Related articles

IRI Data Class Map
Schema Data Class Search
Masking RDB Data in the…
Find & Mask File PII…
Importing Data Classes into the…
Data Class & Rule Library…
Prepare and Protect Data for…
Connecting MariaDB and MySQL to…
Sharing IRI Data Management Jobs…
Running IRI Software in a…
The IRI Platform

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Big Data 66
  • Business Intelligence (BI) 77
  • Data Masking/Protection 163
  • Data Quality (DQ) 41
  • Data Transformation 94
  • ETL 122
  • IRI 229
    • IRI Business 86
    • IRI Workbench 162
  • MDM 37
    • Master Data Management 12
    • Metadata Management 25
  • Migration 65
    • Data Migration 60
    • Sort Migration 6
  • Test Data 102
  • VLDB 78
  • VLOG 40

Tracking

© 2025 Innovative Routines International (IRI), Inc., All Rights Reserved | Contact