Hi all,
Just wanted to know what is the difference between a filter stage and switch stage .
as far as i know both do the same job.
correct me if i'm wrong and could some one explain the same
Thanks in advance
Difference between a Filter stage and Switch Stage
Moderators: chulett, rschirm, roy
A few major differences:
- -Filter stage can have any number of output links where as Switch stage is limited to a max of 128 links.
-Filter stage can optionally have a reject link. Switch stage requires a reject link.
-A switch stage is like the C swtich function. It goes through all the cases and if no cases are met, it goes for the default value, which is specified by the reject link.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
THE major difference is that the Switch stage operates on values, while the Filter stage operates on WHERE expressions, to determine which rows are sent along each output 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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Re: Difference between a Filter stage and Switch Stage
In Filter, a single Input record can pass thru one or many output links aslong as each link satisfies a certain criteriasshettar wrote:Hi all,
Just wanted to know what is the difference between a filter stage and switch stage .
as far as i know both do the same job.
correct me if i'm wrong and could some one explain the same
Thanks in advance
In Switch, a single INput record can ONLY pass thru one of the many output links.