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
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Hashed File

Post by asitagrawal »

Hi Friends,

I read in a document that the 'Hashed Files are commonly used to provide a reference table based on a single key'.
So, with ref to aboce stmt, plz comment on thw case where I have more than one key and need a reference lookup against the composite key.

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

Post by ArndW »

Hashed files can be used with composite keys in DataStage server jobs. What DataStage will actually do (under the covers) is to combine the columns that comprise the composite key into one string and use that as the physical file key, but for all intents and purposes it works out to having multiple keys in your job design.
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Re: Hashed File

Post by asitagrawal »

asitagrawal wrote:Hi Friends,

I read in a document that the 'Hashed Files are commonly used to provide a reference table based on a single key'.
So, with ref to aboce stmt, plz comment on thw case where I have more than one key and need a reference lookup against the composite key.

Thx
One more Q.

I cant find where to specify that the Hash File is Static or Dynamic?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

In the hashed file stage, under the create options.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

... and you can invoke Help from there via the F1 key. :wink:
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