Page 1 of 1

Hashed File

Posted: Tue Nov 14, 2006 10:38 am
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

Posted: Tue Nov 14, 2006 11:27 am
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.

Re: Hashed File

Posted: Tue Nov 14, 2006 11:56 am
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?

Posted: Tue Nov 14, 2006 12:07 pm
by ArndW
In the hashed file stage, under the create options.

Posted: Tue Nov 14, 2006 1:49 pm
by ray.wurlod
... and you can invoke Help from there via the F1 key. :wink: