Configure delete condition - Connect_CDC - aws_mainframe_modernization_service - connect_cdc_mimix_share - Latest

AWS Mainframe Modernization - Data Replication for IBM i

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
AWS Mainframe Modernization > AWS Mainframe Modernization Service
Version
Latest
Language
English
Product name
AWS Mainframe Modernization
Title
AWS Mainframe Modernization - Data Replication for IBM i
Copyright
2024
First publish date
2003
Last updated
2024-02-01
Published on
2024-02-01T23:02:31.099696

Optionally, use the Delete Condition tab in either the Receiving or Sending Table Properties dialog to create a custom SQL DELETE statement that is executed at the target server when:

  • the delete operation of a copy request is executed when Delete on target, refresh is enabled (see the Connect CDC Advanced User Guide  for more information on Delete on target, refresh)

  • a truncate operation on an IBM i system, replicated from the source, is executed

Note: If Journal target mapping is enabled on the Mapping tab of the Sending Table Properties dialog, you cannot configure a Delete Condition.

This option enables you to specify what is deleted on the target table. For example, if you have a many-to-one mapping (multiple source tables mapped to one target table), you can create an SQL statement that only deletes a subset of the rows in the target table.

  1. On the Delete Condition tab in either the Receiving or Sending Table Properties dialog, enter the SQL DELETE statement.

  2. Click Validate to verify that the statement is valid.

  3. Click OK.