Configuring Generic stage for Change capture operator
Posted: Tue Aug 09, 2011 1:52 am
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
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