Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

HOW CAN I SEND HALF OF THE RECORDS TO ONE TARGET AND
REMAINING TO OTHER TARGET?

Answer Posted / ojesh

First do a count of the records in the file using a wc -l unix command, store that number in a variable.

create a counter in an expression and increment it with every icoming record.

create a router after that and route if the counter is less than half to target 1 else target 2.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose on 1st Nov 2010 you had created a mapping which includes huge aggregator calculations and it is under process for next two days. You will notice that even on 3rd day also its still calculating. So without changing a logic or changing a mapping How will you troubleshot or to run that mapping? Explain the steps

2080


How might you approve all mappings in the archive all the while?

1081


Can we use the mapping parameter or variables developed in one mapping into any other reusable transformation?

1187


Explain the types of transformations?

1099


How can you define user defied event?

1073


how to load rows into fact table in data warehouse

1228


What is a dimensional model?

1033


What is the sql query overwrite in source qualifier in informatica

1141


What are the reusable transformations?

1219


How many ways are there to create ports?

1402


How would you join a node to the already existing domain?

1180


Define mapplet?

1058


Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?

1164


How to do unit testing in informatica? How to load data in informatica ?

1182


Explain transaction control transformation in informatica

1311