how to get flatfile containg 10 records half records one
target another half another target

Answer Posted / gazulas

what if the number 10 changes??

use a sql transfermation and get the record count or use an agg get rec count and pass it into record_count. use seq gen and populate the numbers. then use a router and write condition seq no <= record_count/2 -- target1

default to target 2.

this will work even ur records changes to 100 or 25o or 40000..etc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we store previous session logs?

778


How would you copy the content of one repository to another repository?

764


explain about unit testing? in real time?

1895


What are the conditions needed to improve the performance of informatica aggregator transformation?

813


How can we delete duplicate rows from flat files?

959


How does a sorter cache works?

783


can anyone explain me about retail domain project in informatica?

7691


What is the Process to creating lookup transformation in informatica

785


What are the mapping parameters and mapping variables?

823


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

978


What is the difference between a connected look up and unconnected lookup?

760


Have you worked with/created Parameter file

1404


Scheduling properties,whats the default (sequential)

1674


Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

1843


How we can use union transformation?

804