Please enable JavaScript to view this site.

The CDCOP function returns returns change (insert, update or delete) operation from a changed data capture (CDC) record. For non-CDC source the return value is the code for insert (typically I)

Category

Change Data Capture

Syntax

CDCOP(<source_datastore>)

 

Parameter Descriptions

source_datastore  -  The name of the source datastore that contains the changed data capture (CDC) record.

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)