In what scenario can we not use a hash file

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
n.parameswara.reddy@accen
Participant
Posts: 40
Joined: Mon May 18, 2009 5:22 am

In what scenario can we not use a hash file

Post by n.parameswara.reddy@accen »

In what scenario can we not use a hash file
Hash files cannot be used to store data to provide a primary data stream. A data generating stage such as a Sequential File stage, or a database stage or ODBC stage can be used to generate a primary data stream
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

Interview question?

Define "primary data stream".
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
n.parameswara.reddy@accen
Participant
Posts: 40
Joined: Mon May 18, 2009 5:22 am

Post by n.parameswara.reddy@accen »

miwinter wrote:Interview question?

Define "primary data stream".

i am new to server jobs , leave it "primary data stream"


Can you please give me In what scenario can you not use a hash file"
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

Still confused.... :?

If you're trying to say that a hashed file can't be an input to a job, then that's false. As for scenarios when you couldn't use one, it's a rather too open-ended question/discussion, rather than a specific ask.
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

hashed file stage remove duplicate data based on key value.
there will be count mismatch on the data flow. we need to avoid the hashed file as source.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

While the first statement is true about 'duplicates', the second is not necessarily true and the third is false.

Asking for a scenario when one cannot use a hashed file is a little broad, like asking when one couldn't use a screwdriver. Use the tool that's appropriate for the task, whether it's a screwdriver or a wrench or whatever.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A Hashed File is the mechanism by which database tables in the UniVerse database (and therefore in the DataStage Engine database) are implemented. You can do anything with a hashed file that you can do with any other database table stage, and a couple more things as well.

It's "hashed", not "hash".

Moderator: please move to server forum
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