Change capture not taking input from "before" link

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

ady
Premium Member
Premium Member
Posts: 189
Joined: Thu Oct 12, 2006 12:08 am

Post by ady »

Sorry.... I confused u Kumar,

As you said, when there are new rows in the AFTER data it shows them as insert. But if the values in the existing rows are changed, how can I get those rows out ?


ex:

If this is the BEFORE data

111 aaa bbb

222 aaa bbb

333 yyy zzz



And this is the AFTER data


111 aaa bbb

222 aaa bbb

333 yyy xxx





I should get the output as :

333 yyy xxx



Can I get this with Change Capture or do I have to use a different stage?
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Yes that record will be treated as an 'INSERT'

Sam
ady
Premium Member
Premium Member
Posts: 189
Joined: Thu Oct 12, 2006 12:08 am

Post by ady »

I am giving the columns which I changed as "value columns". Its works now ... and it takes the changes I made as EDIT.
Post Reply