Hi ,
How the switch case exactly work?I know that its going to divide the input to number of outouts according to the defined case.If i am having 2 case then how the case is going to work?How is it going to distingusih which case will go to which output link?
Any sujjestion is welcome...
thanks
Dash
Switch case
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
Output lstreams are identified using link numbers starting from 0. If it is just 2 links, you can use filter stage also.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Switch case
is it necesssry that the number of columns in input should be equal to the number of columns in output?
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
Switch Case
I am new to PX
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
Re: Switch case
No it is not necessary ! You can drop columns, but this is completely dependent on the stages you use. You have code to drop columns in modify stage. In copy stage you can drop while you map in the output mapping tab. Check in the stage if it is having a mapping tab, in that case you can try not mapping the columns you don't want to the output link.
dashpriya wrote:is it necesssry that the number of columns in input should be equal to the number of columns in output?
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Re: Switch case
Thanks a lot for guiding me..