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

What is data movement mode in Informatica and difference between them?

1066


How do you promote a non-reusable transformation to reusable transformation?

1070


Whats the difference between informatica powercenter server, repositoryserver and repository?

1118


How do you update the records with or without using update strategy?

1059


What is a filter transformation?

990


Implementation methodology

1657


write a query to retrieve the latest records from the table sorted by version(scd)

1011


Explain dynamic target flat file name generation in informatica

1010


Suppose we have a source qualifier transformation that populates two target tables. How do you ensure tgt2 is loaded after tgt1?

1030


How many dimensions are there in informatica?

1025


How to use pmcmd utility command?

972


Is there any way to read the ms excel datas directly into informatica?

980


Explain the shared cache and re-cache?

1051


What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?

8130


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

918