Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I have a small problem using tFilterRow component in TOS Data Integration (version 6.5.1.).
I have two files that output into a database table. I need to filter the second filed based on values from the first file. My job currently looks like this (non-essential parts ommited)
My thinking is: Filter the first file base on set values in the file (this works fine).
Then filter the second file based on the output values of the first file (that has already been filtered). The tJDBCRow component has a SQL-query "select distinct id from table" that should be used as the filter for the second file.
Any help would be greatly appreciated!
BR. Smam
Hi ,
You can use following solution
tDBInput ------->tFlowToIterate ---> tFileInputDelimeted -----> tFilterRow ----->tfileOutputDelemited
In tFilterRow use condition as id Equals ((Integer)globalMap.get("row2.id"))
and tFileOutputDelimeted in append mode