Filter stage "where clause" format
Moderators: chulett, rschirm, roy
Filter stage "where clause" format
Hi,
One of my job uses a transformer to apply the constraint l_INVENT.DIGIT_CODE[1,2] = "04" And l_INVENT.KIT_ID <> "00000".
I am trying to replace the transformer with a filter stage, How do I specify the above constraint in the filter stage?
I tried DIGIT_CODE like "04...", it dosent seem to work. Please let me know how I can do this in a filter stage.
Thanks
One of my job uses a transformer to apply the constraint l_INVENT.DIGIT_CODE[1,2] = "04" And l_INVENT.KIT_ID <> "00000".
I am trying to replace the transformer with a filter stage, How do I specify the above constraint in the filter stage?
I tried DIGIT_CODE like "04...", it dosent seem to work. Please let me know how I can do this in a filter stage.
Thanks
Code: Select all
DIGIT_CODE like "04%"
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
My job structure is
Seq stage >
Seq stage > Funnel > Filter > Seq Stage
The job was working fine when I had transformer in the place of the filter, but When I use a filter there, the job dosent work. The director shows the job ran sucessfully in 0.2 seconds, there are no warnings.
DS dosent show any activity of rows from any of the stages, The where clause in the filter stage is DIGIT_CODE like "04%". The output link label number is "0" which correspond to output link.
Seq stage >
Seq stage > Funnel > Filter > Seq Stage
The job was working fine when I had transformer in the place of the filter, but When I use a filter there, the job dosent work. The director shows the job ran sucessfully in 0.2 seconds, there are no warnings.
DS dosent show any activity of rows from any of the stages, The where clause in the filter stage is DIGIT_CODE like "04%". The output link label number is "0" which correspond to output link.
No you dont need to if it comes in as char. I was under the impression that it was in integer format.
Lets take a step back. How many filter where clauses do you have. Start with one, see if that works. Add on more conditions later.
Lets take a step back. How many filter where clauses do you have. Start with one, see if that works. Add on more conditions later.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
Have you tested your output from funnel stage. If there is an issue with filter than atleast you will see some activity around funnel stage links.beaditya wrote:My job structure is
DS dosent show any activity of rows from any of the stages, The where clause in the filter stage is DIGIT_CODE like "04%". The output link label number is "0" which correspond to output link.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Thomas Alva Edison(1847-1931)