Need to Create Surrogate Key at Script Level

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
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Need to Create Surrogate Key at Script Level

Post by praburaj »

Hi All

I want to create surrogate key based on my natural key for my job at UNIX script level.I don't know how to create at script level.plz help me to resolve this issue.
EX:

Code S.key
000T01 1
000T02 2
000T03 3
000T04 4
prabakaran.v
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why "at script level"? If that's mandatory why did you waste your money buying DataStage? And how do you propose to handle uniqueness across parallel processing nodes?

Resist stupid requirements!!!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply