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

Design a mapping to load a target table with the following values from the above source?

886


What are the different clients of powercenter?

604


I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow.

645


What is sequence generator transformation in informatica?

628


What are mapplets?

826






hi real timers . iam waiting for ur reply regarding ETL TESTING

1814


scenario where i can use only concurrent execution of workflow.

2552


What are the performance considerations when working with aggregator transformation?

678


Hi, I want to do Informatica Designer certification. Can anyone help me by providing the details on this. Thanks in advance. Regards, Arnab

1657


Informatica Server and Client are in different machines. You run a session from the server manager by specifying the source and target databases. It displays an error. You are confident that everything is correct. Then why it is displaying the error?

1513


Explain the shared cache and re-cache?

617


What is the status code in stored procedure transformation?

689


source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.

2299


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

637


Write the unconnected lookup syntax?

662