Write failure on hashed file

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
bigpoppa
Participant
Posts: 190
Joined: Fri Feb 28, 2003 11:39 am

Post by bigpoppa »

Just a guess, but is the number bigger than 2^31.. (2,147,483,648).. There might be an issue with writing #'s larger than 2^31 if your operating system is 32 bit.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not sure what the issue is, but it's not integers. Hashed file keys are always character strings, the default maximum length is 255 characters but this can be increased up to 768. Also the fact that it didn't occur the second time suggests that it was a temporary glitch, possibly with memory allocation. Was write caching enabled for the hashed file at the time? And were you trying to populate the hashed file with more than 2GB of data?



Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
bradinmi
Participant
Posts: 17
Joined: Wed Apr 02, 2003 9:06 pm
Location: Detroit

Post by bradinmi »

The file is a little over a half gig, nowhere near the max sizes. It hasn't happened since. We rebuild this lookup table each day. I'll just chalk it up to a glitch.

Thanks, gang.


Brad Vincent
Compuware @ The Detroit Medical Center
Post Reply