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

what are the different types of transformation available in informatica. And what are the mostly used ones among them?

535


How can you generate reports in informatica?

575


write a query to retrieve the latest records from the table sorted by version(scd)

629


How can informatica be used for an organization?

647


Repository user profiles

1373






what is persistent lookup cahce?how to use and when to use this persistent lookup cahce?explain?

1779


what is diff b/t sorter t/r and agg have the option sorter property...

1737


Partition, what happens if the specified key range is shorter and longer

2029


How do you set a varible in incremental aggregation

1440


What is the reusable transformation?

621


How to extract sap data using informatica?

603


complex mapping ur project u r invlve can u explain and give real time example give me ?

1836


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

624


Enlist the tasks for which source qualifier transformation is used.

584


Explain what is informatica metadata and where is it stored?

604