Change Capture Stage Behaviour
Posted: Sun Oct 16, 2011 2:18 am
Hi Guys,
I am new to Datastage. I am doing some POC's on change capture stage.
I had tried the following example using Change capture stage.
Before Dataset,
Code Name
P1 A
P2 B
After Dataset
Code Name
P1 C
P2 B
P1 D
key column is Code and change value is Name.
ResultSet
Code Name ChangeCode
P1 C 3 (Modify)
P2 B 0 (Copy)
P1 D 1 (Insert)
For the third record , i was expecting code 3 (i.e) Modify but got 1 (new record) .
So the key column should not have more than one record for the same value ( in my example P1 ) in the after dataset if we are using change capture stage ???
Kindly help me out guys....
Thanks in advance,
Vikram.
I am new to Datastage. I am doing some POC's on change capture stage.
I had tried the following example using Change capture stage.
Before Dataset,
Code Name
P1 A
P2 B
After Dataset
Code Name
P1 C
P2 B
P1 D
key column is Code and change value is Name.
ResultSet
Code Name ChangeCode
P1 C 3 (Modify)
P2 B 0 (Copy)
P1 D 1 (Insert)
For the third record , i was expecting code 3 (i.e) Modify but got 1 (new record) .
So the key column should not have more than one record for the same value ( in my example P1 ) in the after dataset if we are using change capture stage ???
Kindly help me out guys....
Thanks in advance,
Vikram.