SCD in datastage-how to implement?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
karthikgk0705
Premium Member
Premium Member
Posts: 45
Joined: Tue Aug 29, 2006 2:59 am
Location: Bangalore

SCD in datastage-how to implement?

Post by karthikgk0705 »

Hi all,
I know the basic concepts about Slowly Changing Dimensions.But I get into trouble when I try to put them in real-time in data stage?

Can anyone clearly explain me how to implement SCD in data stage?
(for all three types).

Thank u
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

SCD in datastage

Post by suresh.narasimha »

Hi

Type1 - u can do it by update option insert else update.
Type2 -

LookUpTgt
i
i
i

source---->Transformer-------------->Target(3 links to target)

Generate Surrogate Key in Transformer.
Lookup the target and compare the key feild and changing column write constraints accordingly to 3 links. One for NewInsert, One for Changed Insert, One for Updating the changed record.
Also, maintain link ordering.

Regards,
Suresh N
SURESH NARASIMHA
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi
You can do a search in the forum based on slowly changing dimesions, we have posts discussed on this.Check this post.
viewtopic.php?t=177
Post Reply