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 / bala ramesh

in this logic , frist take one sequene genrator
transformation ,pass next value to expression
transformation and also pass id,name,and amt.
in this transformation and also create one output port
(temp).it is decimat type and write codition like
(iif(NEXTVAL %2=0,0,1)) , after take one router
transformation ,pass these ports (id,name,amt and
temp) .then create two group ,one is temp=0 and another one
is temp=1.after pass first group to one flat file ,second
group to second flat file.

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update source definition?

1076


which one is better performance wise joiner or look up

1073


How can we update a record in the target table without using update strategy?

1123


What is the status code in stored procedure transformation?

1167


What is deployment group?

1186


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

2574


What are the new features of informatica 9.x in developer level?

975


what is the end to end process meaning in my project(my project is development)and functionality plz tell me

1974


wat are deployement groups in informatica, how it will be used for developers

1701


in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

2022


What is standalone command task?

1306


As union transformation gives UNION ALL output, how you will get the UNION output?

1087


What is the Process to creating lookup transformation in informatica

1032


How can a transformation be made reusable?

1145


What are the validations that you can perform in oracle and in informatica ? Advance Thanks

2054