Log report

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
veera24
Premium Member
Premium Member
Posts: 150
Joined: Thu Feb 07, 2008 9:37 pm
Location: NewYork

Log report

Post by veera24 »

Hi all,

I got the following warning when am trying to write the data from a sequential file to a hashed file.

ds_uvput() - Write failed for record id ''

For the same job i got phantom error also saying that,

"Attempted WRITE with record ID larger than file/table maximum
record ID size of 768 characters."


When i view it in RT_BP subdirectory it is pointing a column with the length 0f 1 (I mean the column is having length of 1). My source data for the column is also length of 1.
So am wondering why it is saying about record ID size?

Could any one suggest me to resolve this?

Your time will be highly appreciated...

Thanks in advance...
veera...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What is it you are viewing in "RT_BP subdirectory" (and, for that matter, which RT_BP subdirectory)?

Where does the Hashed File stage specify that the hashed file is?

This error would not have occurred if a job had not attempted to write a record into a hashed file for which the key value (the totality of all key columns plus one separator character between each) had more than 768 characters in it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The error message says it all. What is the metadata for the hashed file being written to? Have you checked what you are sending to the key fields?
-craig

"You can never have too many knives" -- Logan Nine Fingers
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

the key field for hash file cannot have a length greater than equal to 768 characters.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It can, but only if one of the uvconfig parameters is changed to permit it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

Please can you let us know the parameter.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

sachin1 - the parameter is "MAXKEYSIZE" and it shouldn't be changed without good reason as changes can impact performance adversely.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

thanks a lot ArndW.
Post Reply