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
What is a shortcut and copy in Informatica and how two are different with each other?
what are the different types of transformation available in informatica. And what are the mostly used ones among them?
Explain the pipeline partition with real time example?
What are the types of caches in lookup? Explain them.
What is a pre-defined event and user-defined event?
what is index?how it can work in informatica
what is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not
What is mapping debugger?
what are the best practices to extract data from flat file source which are bigger than 100 mb memory?
What is the maplet?
where to store informatica rejected data?
Performance tuning in UNIX for informatica mappings?
How can we improve session performance in aggregator transformation?
Write the unconnected lookup syntax and how to return more than one column.
Explain the types of lookup transformation?