range lookup on hashed file

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
kkreddy
Participant
Posts: 28
Joined: Tue May 10, 2005 6:00 am

range lookup on hashed file

Post by kkreddy »

Dear DsGurus,
Is There anyway to perform Range look up on a Hashed File .if there is any how it is?

Thanks in advance
Kiran Kumar
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

HI,

As far as i know range lookup is not possible in hashed file as of now. We
have to go through the database query way as of now

This is one the likely features being implemented in the HAWK release.

Regards
Sreenivasulu
rleishman
Premium Member
Premium Member
Posts: 252
Joined: Mon Sep 19, 2005 10:28 pm
Location: Melbourne, Australia
Contact:

Post by rleishman »

I have seen several posts in this forum advising that you can use the UV stage rather than the Hashed File Stage.

Since a Hashed File is really just a UniVerse table in disguise, you can use the UV stage to lookup the file using SQL.

Note that you may need to index the table/file in order to get accepable performance.
Ross Leishman
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In other words, searching the forum for the words range lookup will provide quite a number of interesting conversations on the topic. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

HI,

I think UV stage is also used to store all the matching records for a key .
Eg: 1 key having mulitple values

Regards
Sreenivasulu
dls
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 09, 2003 5:15 pm

Post by dls »

In case it's not included in the results of your search, you might want to consider this post from Ken Bland.

viewtopic.php?t=84998

We found it to be an effective solution.
Post Reply