What is the use of Hash file??insted of hash file why can we use sequential file itself?

Questions by yukthi   answers by yukthi

Showing Answers 1 - 4 of 4 Answers

mallikharjuna reddy

  • Oct 11th, 2006
 

hi,

  hash file is used to eliminate the duplicate rows based on hash key,and also used for lookups.data stage not allowed to use sequential file as lookup.

  Was this answer useful?  Yes

yukthi

  • Oct 12th, 2006
 

thanx for replying

  Was this answer useful?  Yes

Prathap Raman

  • Oct 16th, 2006
 

Actually the primary use of the hash file is to do a look up. You can use a sequential file for look up but you need to write your own routine to match the columns. Coding time and execution time will be more expensive. But when you generate a hash file the hash file indexes the key by an inbuilt hashing algorithm. so when a look up is made  is much much faster. Also it eliminates the duplicate rows.

  Was this answer useful?  Yes

jessa

  • Oct 24th, 2006
 

these files are stored in the memory hence faster performance than from a sequential file

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions