Lookup Error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Lookup Error

Post by priyadharsini »

While running a job, I am getting the following error.
Field "column name" has keyprep export buffer overrun error. Has anyone come across this error before? I searched in the forum but couldnt find any solution.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I haven't seen that one before. What stage and what column is triggering this error?
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

Lookup stage and Lookup key column is throwing this error.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This is a common error when RCP is used, as the lookup stage returns the lookup key column twice, once from the source and once from the reference.

EDIT - Sorry, I was thinking that this was a response to another post where RCP and column duplication seemed to be the error. It doesn't necessarily apply to your problem. What data type is the key?
Last edited by ArndW on Mon May 31, 2010 2:31 am, edited 2 times in total.
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Post by g_rkrish »

priyadharsini wrote:Lookup stage and Lookup key column is throwing this error.
How big is your lkp
RK
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

Lookup is having a single reference link and I tried running the job with 10 records only and Key column is of Varchar (1) datatype.
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

Lookup is having a single reference link and I tried running the job with 10 records only and Key column is of Varchar (1) datatype.
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Post by g_rkrish »

priyadharsini wrote:Lookup is having a single reference link and I tried running the job with 10 records only and Key column is of Varchar (1) datatype.
try increasing the size of the coulmn and run it
RK
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

I run the job by increasing the length to varchar(10), but again I am getting the same error.
Last edited by priyadharsini on Mon May 31, 2010 2:51 am, edited 1 time in total.
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Post by g_rkrish »

priyadharsini wrote:Lookup is having a single reference link and I tried running the job with 10 records only and Key column is of Varchar (1) datatype.
try increasing the size of the coulmn and run it
RK
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What is the DDL of the table, particularly the key column?
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

the source link key is columnA char(1) nullable = Yes and the reference link key is column A varchar(30) nullable = No
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I would do an explicit conversion so that both datatypes are identical in type and you will need to ensure that nullability is identical as well, perhaps by adding a NullToValue() call.
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

Before the lookup, I did all the necessary transformation, I had earlier sent you the table column definition (DDL)
ds_teg
Premium Member
Premium Member
Posts: 51
Joined: Tue Aug 11, 2009 6:53 am
Location: Chicago

Post by ds_teg »

I am also facing the same problem .

Any resolution for this ?
Post Reply