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...

hi all, i have 1 flat file having 10 rows. like:-

id name amt
100 a 100
200 b 200
100 n 300
400 p 3000
100 a 100
600 x 6000

Now i want to load half of this data into one flat file and
remaining in other flat file.like :-

flat file 1

id name amt
100 a 100
200 b 200
100 n 300
----------------------
----------------------
flat file 2

id name amt
400 p 3000
100 a 100
600 x 6000

Plz reply me ASAP.

Answer Posted / srinivasarao dasari

Find the count of the records using `wc -l` Command and
pass this to mapping varaiable.Now you can route the data
by dividing 2.I hope this would be helpful to you.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the advantages of partitioning a session?

1257


What is meant by lookup transformation? Explain the types of lookup transformation?

931


Is it possible to revert a global repository to local one and why?

1063


can anybody send me some real time screenshots of mapping in informatica powercenter. i will be vary thankful to him. my e-mail id :- prakashkumar.kumhar@gmail.com

4712


Can you generate sequence numbers without using the sequence generator transformation?

1099


Is it possible to use a client with different version than that of its Informatica server?

1119


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

8206


How to load last n records of file into target table - informatica

1051


Explain what are the different versions of informatica?

1081


How do you load only null records into target?

1194


What is an active transformation?

1077


What do you mean by worklet?

1051


What are some examples of informatica etl programs?

916


How to create or import flat file definition in to the warehouse designer?

1056


What is the different lookup cache(s)?

1073