Hashed File:HASH.HELP.DETAIL command error

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
AdrianoBrazzola
Premium Member
Premium Member
Posts: 4
Joined: Sat Jul 02, 2005 3:10 pm

Hashed File:HASH.HELP.DETAIL command error

Post by AdrianoBrazzola »

Hi

I am trying to determine the best structure for an hashed file using HASH.HELP.DETAIL command. The hash file is pathed, therefore I run the following command to enter a pointer in the VOC: SETFILE '\\datastageserver\..\hashedfilename'. I called the pointer with this name: hashedfilename. When I run HASH.HELP.DETAIL hashedfilename, I got the following error: Cannot process type 1,19,25 or 30 file "\\datastageserver\..\hashedfilename".

Do you have any idea why?

Thanks in advance

Adriano
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's only valid for Static hashed files, guessing yours is Dynamic.
-craig

"You can never have too many knives" -- Logan Nine Fingers
AdrianoBrazzola
Premium Member
Premium Member
Posts: 4
Joined: Sat Jul 02, 2005 3:10 pm

Post by AdrianoBrazzola »

chulett wrote:It's only valid for Static hashed files, guessing yours is Dynamic.


Yes it's dynamic....
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use ANALYZE.FILE hashedfile STATS to report the sizing statistics then use the Hashed File Calculator to get a recommendation on minimum modulus. You only have two choices for hashing algorithm (sequential numeric keys or other keys) so that part is not rocket science.
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