multiple reference records from hash 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
rejith.ry
Participant
Posts: 21
Joined: Thu Jun 08, 2006 3:37 am

multiple reference records from hash file

Post by rejith.ry »

Hi,
I am using a lookup(using transfromer) in server job on a hash file. For each input record, I want to extract multiple records from the hash file. The moment I make any column as the key, the duplicates are removed from the hash file.

Please help
Rejith R
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are no duplicates in a hashed file. The hashed file has a primary key. By definition, the key to a hashed file - the Primary Key - is unique. A primary key is unique in every database of which I am aware.

What are you trying to accomplish?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Besides the fact that (as noted) hashed files have no 'duplicate' records, it can't be used to return multiples. Other stages can - UV, ODBC. What exactly do you need to do? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply