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

Parameter and variable differences

2032


Explain target update override in informatica

1061


hi friends ... i have insurance project(informatica),can you please tell me how many table and mappings we need to use?and explain me.. thank you

9766


What are the prerequisite tasks to achieve the session partition?

1204


Enlist the tasks for which source qualifier transformation is used.

1001


What is the benefit of partitioning a session?

1126


What all are steps in up gradation of Informatica server?

1014


Different sorts of metadata that stores in the storage facility?

972


what is unit testing?tell me proceedure

2183


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

10649


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

1087


What is primary and backup node?

1099


How is union transformation utilized?

967


In which transformation you cannot drag ports into it?

1270


Differentiate between source qualifier and filter transformation?

1529