Hash File Key field limitation

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
userds
Participant
Posts: 19
Joined: Mon Feb 14, 2005 1:39 pm

Hash File Key field limitation

Post by userds »

I kept the hash file key column data length as Char(2000). But the key column is not accepting more than 768 charecters. Can anyone please let me know how i can overcome this limitation.

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

Post by chulett »

Two things:

1) I believe max key length is controlled by a uvconfig file parameter. I have no idea what effect changing this would have.

2) Why in the world would you need a 2000 character key? Do you really need to do this?
-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 »

The maximum permissible MAXKEYLENGTH setting is 768.

You simply can not make it 2000.

What the heck are you trying to do?!!!

Small is good, as far as hashed files are concerned.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
userds
Participant
Posts: 19
Joined: Mon Feb 14, 2005 1:39 pm

Hash File Key field limitation

Post by userds »

Thanks a lot for your replies. But is it possible to use Sequential file stage instead of Hashfile stage for lookupups. Please let me know.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, not directly. You might want to explain what you are trying to do, then you can get something less 'generic' in the way of advice.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply