i have source flat file like 1 a,1 b,1 c,2 a,2 b,2 c
i want output as 1 a,b,c and 2 a,b,c ...
how can achieve this
Answer Posted / siva
Take the mapping as (suppose the columns as C1, c2)
SD --> SQ --> Exp --> Agg --> Tgt
In exp define as
c1 <-- c1
c2 <-- c2
v_2 <-- IIF(c1 = v_1,TO_CHAR(v_2) || ', ' || TO_CHAR
(c2),TO_CHAR(c2))
v_1 <-- c1
o_p1 <-- v_2
In Agg
Group by c1
c2 <-- v_2
c11 <-- LAST(c1)
Tgt is connected as
c1 <-- c11
c2 <-- c2
v_ stands for variable port and o_ stands for output port
I think it can be understood by you
Thanks for your response
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Under what conditions selecting sorted input in aggregator will still not boost session performance?
If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?
how to create user defined function (udf) in informatica
How we can create indexes after completing the load process?
Explain Dataware house architecture .how data flow from intial to end?
What do mean by local and global repository?
can anyone explain me about retail domain project in informatica?
update strategy transformation in informatica
what is index?how it can work in informatica
where to store informatica rejected data?
What is the sequence generator transformation in informatica?
What are junk dimensions?
What can we do to improve the performance of informatica aggregator transformation?
What is an unconnected transformation?
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?