Page 1 of 1

putRecord() called on output port 0 multiple times

Posted: Thu Oct 06, 2011 2:51 pm
by KSHITHIJA
Hi,
In a parallel job, a lookup stage is using a Sybase table as a reference link, it's a sparse lookup. This job is aborting with following error - "putRecord() called on output port 0 multiple times per activation of the processing logic of the operator."

Can anybody knows about this error?

Thanks,
Sreeni.

Posted: Thu Oct 06, 2011 3:11 pm
by ray.wurlod
Welcome aboard.

Have you enabled the option in the Lookup stage that allows multiple rows to be returned from the reference input link?

Thank you so much Zenith Solutions (Australia) Pty Ltd.

Posted: Fri Oct 07, 2011 3:12 pm
by KSHITHIJA
You are right, but when i use Sparse Lookup it is not showing the input link in the "Multiple rows to be returned from the reference input link".

Thanks
Sreeni.

Posted: Fri Oct 07, 2011 5:09 pm
by ray.wurlod
My bad. I didn't notice you're doing a sparse lookup. A sparse lookup expects no duplicates - it expects that you're doing a lookup on the primary key (or some other column supported by a unique index).

Posted: Fri Oct 07, 2011 5:32 pm
by KSHITHIJA
Thanks Ray