Page 1 of 1

Change capture stage

Posted: Thu Jan 07, 2010 12:57 pm
by srao
Hi ,

I am using change capture stage for SCD2 . While comaparing the old and new , I set Explicit keys All values in the change capture stage .

Intial data load runs fine but second run its creating double data set and there is no new record in new data set. please help any suggestions
other jobs works fine but this one job giving me problem.

Posted: Thu Jan 07, 2010 2:21 pm
by Kryt0n
Try running the job on a single node, is it still duplicating?

Make sure you have your before and after sets the right way round.

Expand a bit on what you mean by "double data set" and "no new records", what records are there within the "double data set"?

Posted: Fri Jan 08, 2010 2:41 pm
by srao
[quote="Kryt0n"]Try running the job on a single node, is it still duplicating?

Make sure you have your before and after sets the right way round.

Expand a bit on what you mean by "double data set" and "no new records", what records are there within the "double data set"?[/quote]


Thank you for giving suggestions.

Actually I set correctly before after dataset for change capture stage.

While comparing old and new data it should pass if new records then insert in to new insert file but first initially run it works fine for next load still there is no new data set still its inserting new records because there is no records updated. so its duplicating the records.pl suggest if any .

Posted: Sun Jan 10, 2010 2:35 pm
by Kryt0n
Have you tried on single node yet?

Posted: Mon Jan 11, 2010 7:13 am
by ReachKumar
I guess , the same input files are used(With same data) for both the runs and the output file update mode is append.

If my guessing is correct, change the update mode to Overwrite and test with different input data.