i have flat file it contains 'n' number of records, i need
to send half of the records to one target table and
Remaining half to another target table: pls full details

Answer Posted / sehaj

CREATE A MAPPING VARIABLE WITH AGGREGATION TYPE AS COUNT.
DEFINE ITS INITIAL VALUE AS 0.
THEN IN EXPRESSION CREATE AN OUTPUT PORT.
COUNT-SETCOUNTVARIABLE(VARIABLE NAME).
USE AN AGGREGATOR TO FIND THE TOTAL NO F RECORDS.
IN ROUTER
CREATE TWO GROUPS
IN FIRST GROUP ENTER CONDITION
COUNT<=(TOTAL NMBR F RECORDS)/2
IN SECOND GROUP ENTER CONDITION
COUNT>(TOTAL NUMBER F RECORDS)/2.

SEHAJ....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a transaction control transformation?

768


What are the different clients of powercenter?

602


Differentiate between Load Manager and DTM?

1667


Explain the scenario which compels informatica server to reject files?

657


Mention some types of transformation?

607






what is the hint? how to use it to reduce the query processing in program?

6314


What is the difference between source qualifier transformations source filter to filter transformation?

583


How to start a workflow using pmcmd command?

713


I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.

1582


Scheduling properties,whats the default (sequential)

1468


where to store informatica rejected data? How to extract the informatica rejected data?

607


What is joiner transformation?

585


What is expression transformation?

636


What is a passive transformation?

642


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

635