Page 1 of 1

REG SCD 1 IN Px

Posted: Mon Jun 14, 2010 3:36 am
by raju4u
Hi,

I would like to know how to implement the scd type 1 in px.

my requirement is as follows

source is dataset with three coloumns and 1 coloumn is key coloumn and i am using the lookup stage and my reference stage db2.
i am doing the lookup on one key coloumn and i am updating the fields whtever we have in the source to the target table,for the matched rows i need to update the 2 coloumn in the target table.

Please help me ...

Posted: Mon Jun 14, 2010 6:04 am
by chulett
We cannot as you have not stated the problem you are having.

Posted: Mon Jun 14, 2010 5:37 pm
by ray.wurlod
We can. Overwrite the record.

Posted: Mon Jun 14, 2010 7:13 pm
by vmcburney
Have you considered using the Slowly Changing Dimension stage that comes with DataStage 8.1? It may make the process easier for you to build since it handles the surrogate key column and the insert/update commands of a Type 1 dimension.

Posted: Mon Jun 14, 2010 7:57 pm
by chulett
ray.wurlod wrote:We can. Overwrite the record.
I think we're more into the how than the what, Ray. :wink:

Posted: Mon Jun 14, 2010 10:51 pm
by agpt
depends on which version of data stage you are.

if you are on 8.1 , you can use in built SCD stage.