filter operator requires more output ? Really?

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
PilotBaha
Premium Member
Premium Member
Posts: 202
Joined: Mon Jan 12, 2004 8:05 pm

filter operator requires more output ? Really?

Post by PilotBaha »

This is the error I get from the Director:
Filter_9,0: The filter operator requires more outputs than it has been configured for;
it has 1, it needs 2.
Why would it need 2 outputs? By the way, Output Rejects = False. When I change it to "True" and add a reject link out, it increases the values to 2 and 3 respectively.
Earthbound misfit I..
jenkinsrob
Participant
Posts: 31
Joined: Mon Dec 01, 2003 6:24 am
Location: London

Post by jenkinsrob »

Hi,

My guess is that you have made a mistake in defining the output link that your where clause is associated with.

If you have a single output link then this value should be set to 0.

If you set it to 1 then you will get the error that you are reporting...

Hope this helps.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read the Parallel Job Developer's Guide about what the Filter stage does. It filters a single input stream onto two or more output streams.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jenkinsrob
Participant
Posts: 31
Joined: Mon Dec 01, 2003 6:24 am
Location: London

Post by jenkinsrob »

Sorry Ray...I would have to disagree with you on that one...

It is valid to have a single input and single output from a Filter stage.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Yes, Guids just says

Code: Select all

The Filter stage is a processing stage. It can have a single input link
and a any number of output links and, optionally, a single reject link.
link, if required.
-Kumar
Post Reply