Page 1 of 1

Configuring Generic stage for Change capture operator

Posted: Tue Aug 09, 2011 1:52 am
by G.K.K
Hi,
We are developing a generic job with change capture functionality incorporated using a generic stage since the number of change values keep varying at runtime and these change_value columns are to be passed as a single parameter seperated by commas.

How to specify the option name and option value in the generic stage for this specific scenario.

Note: We have given the following,
operator = changecapture
OptionName = Key
optionvalue = <FieldName>
OptionName = value
optionvalue = <parameter> # parameter contains the column1,column2 seperated by comma
optionname=keepCopy
optionname=keepEdit
optionname=keepDelete
optionname=keepInsert

Execution Results
With the above options, we are getting the below error
Fatal Error:
Generic_11: When processing argument -valueWhen processing name: column1,column2 is not a valid field selector: Expected identifier, got: column1,column2
How to fix this issue

Re: Configuring Generic stage for Change capture operator

Posted: Tue Aug 09, 2011 5:14 am
by nbalegar
The other way you can work to create a generic job for CDC is using the two column export stage one for join keys and another for value keys. you need to use the schema file,which has to be passed in the column export stage. For you scenario you can create two schema files for joining keys and value keys. probably the part of design will be like this

Before Data--->CE(joining keys)--->CE(value keys)--->CDC--->CI-->target DS.

Re: Configuring Generic stage for Change capture operator

Posted: Fri Aug 26, 2011 4:01 am
by G.K.K
Thanks for the input , the design worked.

Re: Configuring Generic stage for Change capture operator

Posted: Mon Aug 07, 2017 4:35 am
by premupdate
Hi Sir,

Could you please explain elaborately about the below design. For CDC we need two input links....

Below is your flow,

BeforeData --> CE(keys) --> CE (Value) --> CDC --> CI --> target DS

Thanks,

Posted: Mon Aug 07, 2017 10:10 am
by UCDI
The user who posted that has not posted since 2012...