Surrogate Stage or Transform Surrogate

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
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Surrogate Stage or Transform Surrogate

Post by myukassign »

Hi,

In my job I have to generate surrogate key for records , my job also has a transformer stage to do some calcualtions.

Since traformer stage also give the functionality of generating surrogate key, is it required to use the surrogate key stage separatly.

Is it a good design/approach to make use of Transformer stage here than using surrogateket stage. Please advise
ETLJOB
Participant
Posts: 87
Joined: Thu May 01, 2008 1:15 pm
Location: INDIA

Post by ETLJOB »

I hope this post from Vincent should be good enough for your question.

viewtopic.php?t=95243&highlight=surrogate+key
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

ETLJOB wrote:I hope this post from Vincent should be good enough for your question.

viewtopic.php?t=95243&highlight=surrogate+key
This wonn't answer my question. I basically know the various approches, but my question is different.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

One activity - one stage.

To prepare surrogate keys, use "surrogate key stage".

The advantage of surrogate key stage is not only its use in multi-thread architecture but also in holding previous values and state files.

Also it provides better graphical annotation of activities in the canvas.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

Thats a good explanation....

I am happy with that.....

One Activity... one stage...

Thanks a lot ...
Post Reply