Range Lookup in a parallel job

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
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Range Lookup in a parallel job

Post by vnspn »

Hi,

Is there any way to do a Range Lookup when the reference link is either from a Sequential File stage or from a Data Set stage?

In Server jobs, we have written the records to a Hashed File and then read it through a UniVerse stage to accomplish a Range Lookup. Is there some kind of means to achieve it in a parallel job?

Thanks.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

No, you cannot do a range lookup from a sequential or DataSet file in PX 7. You can use the same method you used in server jobs in PX - write to an SQL-capable source and use that in your lookup stage.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Range lookups are supported in the Lookup stage in version 8.0.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Post by vnspn »

ArndW,

Ok, you say to write it to a SQL-capable source and then do the Range Lookup. But there is no feature in parallel job to write to a Hashed File and then reading it using a stage like UniVerse stage.

So, is the only solution in parallel job is to write it to a database table and then read it from there?

Thanks for your inputs.
Post Reply