Assume
that we have a flat file with header row, footer row and detail rows.
Now Lets see how to load header row into one table, footer row into
other table and detail rows into another table just by using the
transformations only.
Now pass the data from expression and aggregator to joiner transformation. In the joiner select the ports from aggregator as master and the ports from expression as details. Give the join condition on the count ports and select the join type as master outer join. Pass the joiner output to a router transformation and create two groups in the router. For the first group give the condtion as exp_count=1, which gives header row. For the second group give the condition as exp_count=agg_count, which gives the footer row. The default group will give the detail rows.Informatica online training - Informatica Jobs
No comments:
Post a Comment