The CDCOP function returns the change operation of the transaction insert, update or delete operation. For non-CDC source the return value is the code for insert (typically I).
Category
Change Data Capture
Syntax
CDCEPOCH(<source_datastore>)
Parameter and Description
Parameter | Description |
---|---|
source_datastore | The name of the source datastore that contains the changed data capture (CDC) records. |
Example
Retrieve the change operation from the current record in the source changed data capture (CDC) datastore CDCIN. Map the result to target field V_CHGOP.
V_CHGOP = CDCOP (CDCIN)