REG SCD 1 IN Px

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

Post Reply
raju4u
Participant
Posts: 56
Joined: Thu Dec 13, 2007 12:30 am

REG SCD 1 IN Px

Post 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 ...
N R REDDY
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

We cannot as you have not stated the problem you are having.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

We can. Overwrite the record.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ray.wurlod wrote:We can. Overwrite the record.
I think we're more into the how than the what, Ray. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
agpt
Participant
Posts: 151
Joined: Sun May 16, 2010 12:53 am

Post by agpt »

depends on which version of data stage you are.

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