putRecord() called on output port 0 multiple times

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

Post Reply
KSHITHIJA
Participant
Posts: 3
Joined: Tue Sep 23, 2008 6:29 am
Location: portland, OR

putRecord() called on output port 0 multiple times

Post 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.
Sreeni
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
KSHITHIJA
Participant
Posts: 3
Joined: Tue Sep 23, 2008 6:29 am
Location: portland, OR

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

Post 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.
Sreeni
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
KSHITHIJA
Participant
Posts: 3
Joined: Tue Sep 23, 2008 6:29 am
Location: portland, OR

Post by KSHITHIJA »

Thanks Ray
Sreeni
Post Reply