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

Write the prerequisite tasks to achieve the session partition?

1129


What are the differences between oltp and olap?

959


How do you handle two sessions in Informatica

1127


One of the optimizing technique to improve the session performance is push down optimization,by using push down optimization we push as much as transformation logic to source/target database,but this degrades the d/b performance,how to overcome this?

2248


Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance

1996


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

10664


How many numbers of sessions can one group in batches?

1051


How do you manage the Parameter files while migrating your data from one environment to another environment?

997


How does a sorter cache works?

1043


Explain Dataware house architecture .how data flow from intial to end?

2573


Briefly describe lookup transformation?

1030


what is index?how it can work in informatica

2027


How to create a non-reusable instance of reusable transformations?

1097


what is unit testing?tell me proceedure

2202


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

7767