User Guide
Overview
InfoCDC is a lightweight Change Data Capture (CDC) tool that detects and streams data changes from IBM i applications (formerly known as AS400, iSeries) without custom IBM i development. It is easy to implement.
CDC solutions currently available on IBM i typically require extensive planning, specialized skills, and a heavy, expensive implementation. InfoCDC is designed as an intuitive, lightweight solution that provides the core data integration capabilities at a fraction of the cost of competing products.
This guide covers installation and the configuration screens. Two more pages cover the rest:
- Custom programs: custom filter and custom column programs with code samples.
- Operations and maintenance: the InfoCDC commands, workflow monitoring, and staging table purge and reorganization.
Sample use cases
Real-time replication flows improve customer experience, process quality, and operational efficiency. For example:
- Send order fulfillment status changes from an IBM i ERP or WMS system to a CRM, an e-commerce platform, or third-party partners.
- Propagate product details from an IBM i based ERP to external MDM and PIM solutions.
- Send customer details from an IBM i based solution to an external Customer Data Platform.
- Replicate IBM i data to a data warehouse in near real time.
- Develop a data pipeline for AI model training.
Product features
- Real-time CDC agent that continuously listens for IBM i journal entries. It does not poll the journal periodically, so there is no polling interval or delay.
- Non-intrusive change detection with low system impact, based on IBM i journals.
- Simple setup and configuration. InfoCDC auto-creates all required components, such as data queues, format tables, and flow definitions.
- Configurable tables and individual columns to replicate.
- Automatic detection of primary keys and unique keys, and custom keys for legacy files.
- Change detection for specific columns, ignoring irrelevant changes.
- Custom filter programs for advanced filtering and custom column programs that add calculated columns to each change.
- Multiple data environments that process tables, including tables on the same journal, independently.
- Support for commitment control (commits and rollbacks) and auto-commit changes.
- Data queue messages that align with the IBM i format table data structure and pass the data in a compact binary format that is easy to deserialize.
- Snapshot support for the initial data load.
- Automatic type translation by the Infoview Kafka and MuleSoft connectors.
- Acknowledgements and retries.
- Workflow and data queue monitoring with notifications.
- Support for Double Byte Character Sets (Japanese, Korean, Chinese, and others) and Graphic columns.
- Support for installing InfoCDC on an independent ASP (IASP).
- Support from the same product engineering team that develops and maintains the product, for fast response and resolution.
How it works
InfoCDC uses IBM i Db2 journals to receive database changes and decides, based on filtering rules, whether to send them to external clients. The changes are streamed through IBM i data queues (DQ), which are native lightweight messaging queues.
In most cases you use InfoCDC together with the Kafka or MuleSoft connector, InfoConnect Hub, or the upcoming AWS or Azure connectors. You configure these consumers to listen continuously for new data queue entries and process each change according to your requirements.
IBM i requirements and considerations
- The minimum supported OS release level is 7.1.
- All IBM i tables in scope for CDC must be journaled with
*AFTERor*BOTHrecord images. - Tables journaled with
*AFTERimages cannot process Delete operations, because the key value before deletion is captured only in theBEFOREimage. Filtering on specific column changes is not possible either. - Each table must have a primary key or a unique key constraint so that changes are applied correctly on the target system. For legacy tables or files without a unique or primary key, InfoCDC supports a user-provided composite key configuration.
- BLOB and CLOB columns are not supported yet.
Installation
Before you start, contact the Infoview sales team to receive the application save file and a trial license.
- Upload the product save file to your IBM i system.
-
Restore the content of the save file in the
QGPLlibrary: -
Make sure the
QGPLlibrary is in the library list. All CDC SAVF files are now available inQGPL. -
Type
CDCINSTALLand press F4 to prompt the command:
-
In ASP to install infocdc, keep
*SAVASPDEVto install InfoCDC in the system ASP, or enter the name of the IASP to install it there. Press Enter.
-
Enter the license string and continue.

-
Validate the installation. A confirmation screen is displayed.

-
Press Enter. The CDC main menu is displayed.
-
Verify the CDC environment by selecting option 1.
-
Configure an auto-start job that starts the replication flows when the CDC subsystem starts, either after an IPL or after a maintenance period.
-
Create a job description for starting the jobs:
CRTJOBD JOBD(INFOCDCCOM/CDCSTARTJD) JOBQ(QSYS/QSYSNOMAX) TEXT('Autostart Job Start InfoCDC Command JOBD') USER(<include-system-user>) RQSDTA('INFOCDCCOM/CDCSTART')You can create the job description in another library, depending on the operational standards of your environment. The user ID must have enough authority to start the replication flows.
-
Add the auto-start job entry to the
CDCSBSDsubsystem:
-
-
If needed, configure a monitor job that starts the CDC workflow jobs. It recovers the process if someone accidentally ends the replication jobs. Adjust the frequency and start time of the job, or add it as a Robot task or an advanced job scheduler task that runs hourly or every X minutes:
-
Schedule the staging table purge and reorganization. See Staging table maintenance.
InfoCDC configuration
To open the main InfoCDC menu, run the following commands in the IBM i environment where the product is installed:
The main menu has four options:
| Option | Description |
|---|---|
| 1. Work with Table Configuration | Add tables to InfoCDC and configure them. See Table maintenance. |
| 2. Work with Replication Flows | Start, stop, and inspect the replication flows. See Replication flow management. |
| 3. Update INFOCDC License | Enter a new license string. See Updating the license. |
| 4. Manage data environments | Create and switch data environments. See Data environments. |
The top right corner of the menu shows the InfoCDC version and the data and object libraries of the current data environment.

Table maintenance
To add tables to the CDC process, select option 1 (Work with Table Configuration). The Work with Tables screen lists the tables of the current data environment with their journal, format table, replication data queue, number of messages waiting in the replication queue, job names, and workflow status. You can sort the list with the Sort by options, for example by the number of replication queue messages.

Type the library and table name in the Add line, then press F6 to add the table.

InfoCDC automatically retrieves the configuration, column structure, primary key, and other details. On the Work with Table Columns screen you can configure:
- The operations to listen for: Include Inserts, Include Updates, and Include Delete.
- Include Metadata, which adds the journal entry metadata to each message.
- The columns used to filter changes (Watch Change), or all columns for any change.
- The columns to replicate (Replicate), or all columns.
- The Expect acknowledgement flag. Set it to
Yto activate retry processing. See Acknowledgements and guaranteed delivery. - The Handle key changes flag. See Key changes.
- The custom filter program and the custom column program, and custom columns (F6). See Custom programs.
Use F13 to F16 to select or deselect all columns for Replicate or Watch Change. When the configuration is ready, press F10 to save it and generate the required objects.

To apply configuration changes to tables that are currently being replicated, stop the replication flow first (see Replication flow management).
Key changes
Most applications and database models do not allow UPDATE operations on unique key columns. If a business entity needs a new unique identifier, the entity is deleted and recreated. If the application does allow users to change the values of primary key columns, InfoCDC can handle this in one of two ways:
- Treat the change as an UPDATE.
- Generate a DELETE for the old key and an INSERT for the new key value. This happens when the Handle key changes flag is set to
Y.
Checking for key changes affects performance. For tables where key changes are not allowed, set the Handle key changes flag to N. InfoCDC then does not compare the before and after key values, which increases the overall throughput.
Snapshot
When you add a table for the first time, you may need to send the entire content of the table to the middleware and on to the target systems before you turn on real-time replication.
- On the Work with Table Columns screen, press F20 to open the Work with Snapshot Details screen.
-
Set Request snapshot on the next run to
Y.
-
Press Enter to save the snapshot configuration, then press F12 to return to the Work with Table Columns screen.
The snapshot settings are:
| Setting | Description |
|---|---|
| Member name | The table member to copy. |
| Request snapshot on the next run | Captures the table content the next time the workflow starts. The flag is reset to N after the snapshot run completes. |
| Request snapshot on each run | Captures the table content every time the workflow starts. |
| Deactivate table on error | Y deactivates the table if the snapshot fails. N ignores snapshot errors and starts the replication flow anyway. |
| Optional filter | A WHERE clause that limits the snapshot to a subset of the rows. |
The right side of the screen shows the start and finish time, the number of records copied, and the status of the last snapshot.
Objects created for a table
When you save the table configuration with F10, InfoCDC performs these steps:
- Detects the journal associated with the table.
- Generates the format table, an empty table that reflects the structure of the data queue message for this table.
- Generates the name of the journal listener job, which listens for journal changes.
- Generates the replication data queue, which the external client polls.
- Configures the replication flow if it is not already defined.
The Kafka, MuleSoft, or Hub configuration needs the format table name and the replication data queue name in the data library (INFOCDCDTA by default) to start listening for changes.
When the replication flow starts, it checks whether a snapshot is required. If so, it processes the initial data load first and then starts the journal listener job.
To add a table without the screens, for example from a script, use the CDCADDTBL command.
Other table options
| Option | Description |
|---|---|
| 2=Edit Columns | Opens the Work with Table Columns screen in edit mode. |
| 3=Peek DQ | Shows the oldest and the newest message in the replication data queue (process ID, relative record number, and timestamp) without removing them. F10 scans the whole data queue. |
| 4=Remove Table | Removes the table definition and all auto-generated objects (data queues, format files, job queues, and, if it is the last table for the journal, the replication flow definition). |
| 5=Display Columns | Opens the Work with Table Columns screen in browse mode. |
| 6=Refresh Table | Pulls the latest table structure and associated journal and rebuilds the format file. If the table is now journaled to a different journal, InfoCDC auto-creates a replication workflow for that journal, with the necessary objects such as the staging data queue and replication job queues. |
| 7=Deactivate Table | Stops replicating the table but keeps its configuration. |
| 8=Activate Table | Resumes replicating a deactivated table. |

Press F18 to show or hide inactive tables, and F4 to show long table names.
Replication flow management
Option 2 on the main InfoCDC menu opens the Workflow Inquiry screen. For each journal it shows the journal checker, journal listener, and data queue builder jobs, the staging data queue and its current message depth, the current journal receiver, the last processed journal sequence number, and the job status.

When you add a table to the configuration, InfoCDC adds a workflow entry to this screen if it is not already defined. Multiple tables journaled into a single journal share one replication flow entry.
Initially, the workflow is added in INACTIVE status so that the CDC client (Kafka flows, MuleSoft apps, or Hub Data Flows) can connect to the appropriate data queue and start listening. When everything is ready:
- Start the flow with option 1, or press F2 to start all inactive workflows in one step.
- Press F5 to refresh the screen and confirm that the intended flows are active.
The screen has these options and function keys:
| Option or key | Description |
|---|---|
| 1=Start workflow | Starts the workflow with the next sequence number after the last processed one. |
| 2=Stop workflow | Stops the workflow. |
| 3=Peek DQ | Shows the oldest and the newest message in the staging data queue. |
| 5=Table and replication queue inquiry | Lists the tables of the workflow and their replication queues. |
| 6=Job status inquiry | Shows the status of the workflow jobs. |
| 7=Start with latest sequence | Starts the workflow from the latest journal entry and skips the entries in between. |
| 8=Start with requested sequence | Starts the workflow from the sequence number set with option 9. |
| 9=Edit workflow details | Sets the journal receiver and sequence number to start from. |
| F2 / F18 | Start or stop all workflows. |
| F9 / F22 | Work with the CDC subsystem or with its active jobs. |
| F10 | Resend process options. |
| F11 | Monitoring options. See Workflow monitoring. |
Replaying journal entries
Sometimes you need to replay journal entries from an earlier point in time, for example when a target system requests that historical data be resent and reprocessed. Use option 9 to set the journal receiver name, library, and sequence number to start from, then start the workflow with option 8. In the same window, F9 uses the first available sequence number and F10 uses the current one. The requested journal sequence number must exist in the specified journal receiver.

The InfoCDC workflow remembers the last successfully processed journal receiver and journal sequence number. When the workflow starts, it begins with the next available sequence number to avoid data loss. Your receiver management policy must keep receivers available long enough for the starting sequence number to still exist. If the receiver has been deleted, InfoCDC starts with the first available record in the currently attached receiver.
InfoCDC automatically recognizes when receivers are swapped and continues with the next journal receiver in the chain, whether it is the current receiver or one that is already detached.
Updating the license
Option 3 on the main InfoCDC menu opens the Enter License Key window. Enter the new license string and press Enter.

Data environments
A data environment is a separate InfoCDC data library with its own subsystem, tables, and workflows. With several data environments you can process tables independently, including different tables, or the same table, on the same journal. For example, you can keep a test and a production configuration on one system.
Option 4 on the main InfoCDC menu opens the InfoCDC data libraries screen. It lists the environments with their data library, subsystem, number of all and active workflows, and description. The current data library is highlighted.
| Option or key | Description |
|---|---|
| 1=Open data environment | Switches InfoCDC to the environment. The other screens then show its tables and workflows. |
| 2=Edit data environment | Changes the environment parameters. |
| 4=Remove data environment | Removes the environment. |
| F6 | Adds a new environment. |
The CDCSTART, CDCSTOP, and CDCADDTBL commands take the environment name or data library as a parameter. See InfoCDC commands.
Acknowledgements and guaranteed delivery
For end-to-end delivery guarantees, you can configure InfoCDC tables to require acknowledgements from the data queue consumers (MuleSoft or Kafka connectors, InfoConnect Hub, or another DQ listener process). To enable this, set the Expect acknowledgement flag on the table maintenance screen.
When InfoCDC sends a change for a table with the Expect acknowledgement flag turned on, it sets the entry status to ACK_PENDING. After the change is applied to the target system or passed to a transactional message store such as Kafka or ActiveMQ, the client must call the acknowledgement program INFOCDCCOM/CDCPGMACKR to set the entry status. The program has the following parameters:
| Name | Type | Length | In / Out | Notes |
|---|---|---|---|---|
| Staging ID | String | 20 | IN | Populated with the InfoCDC entry ID (PROCESSID field in the format file) |
| Acknowledge Status | String | 15 | IN | Populate with Success |
| Acknowledge Message | String | 254 | IN | Optional description field |
| Return Status | String | 15 | OUT | Success or Fail |
The entries and their acknowledgement status are kept in the staging table, which grows over time. Purge and reorganize it regularly. See Staging table maintenance.