UV Stage

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
phil
Participant
Posts: 7
Joined: Thu Dec 04, 2003 9:17 am
Contact:

UV Stage

Post by phil »

In which situation you used the UV Stage unless a hashed file??

Thanks.
ds_developer
Premium Member
Premium Member
Posts: 224
Joined: Tue Sep 24, 2002 7:32 am
Location: Denver, CO USA

Post by ds_developer »

The most obvious is to pull data from a Universe database (other than the DataStage database). Otherwise, I have used the UV stage when I have a multi-valued hash file with an association field. The UV stage allows you to denormalize on the association field.

John
ds_developer
Premium Member
Premium Member
Posts: 224
Joined: Tue Sep 24, 2002 7:32 am
Location: Denver, CO USA

Post by ds_developer »

The most obvious is to pull data from a Universe database (other than the DataStage database). Otherwise, I have used the UV stage when I have a multi-valued hash file with an association field. The UV stage allows you to denormalize on the association field.

John
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Give this a read:

viewtopic.php?t=85364
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Paul Preston
Participant
Posts: 24
Joined: Wed Apr 02, 2003 7:09 am
Location: United Kingdom

Post by Paul Preston »

One of the most useful features of a UV table is that it can be used to return mutiple records from a single look up record. Hash files can only return single rows from a lookup. When using larger UV tables remember to index columns as needed with the CREATE INDEX command.
Post Reply