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
How to update source definition?
which one is better performance wise joiner or look up
How can we update a record in the target table without using update strategy?
What is the status code in stored procedure transformation?
What is deployment group?
Explain Dataware house architecture .how data flow from intial to end?
What are the new features of informatica 9.x in developer level?
what is the end to end process meaning in my project(my project is development)and functionality plz tell me
wat are deployement groups in informatica, how it will be used for developers
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
What is standalone command task?
As union transformation gives UNION ALL output, how you will get the UNION output?
What is the Process to creating lookup transformation in informatica
How can a transformation be made reusable?
What are the validations that you can perform in oracle and in informatica ? Advance Thanks