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

Use 2 variables one for counter and another for value.
sort all the records by c1 and keep track on c1 and hold
the value in v1. When the v1 and c1 are equal, then
concatenate c2 with v2 other assign c2 with v2. Finaly
connct to aggregator and take last value by grouping the
records by c1.


This will work..

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do think which one is the better joiner or look up?

722


 Informatica Checkpoints

2853


What is the maplet?

616


What is repository manager?

532


Differentiate between reusable transformation and mapplet.

568






Where is metadata stored?

618


Describe the impact of several join conditions and join order in a joiner transformation?

643


Describe expression transformation?

631


Differentiate between a repository server and a powerhouse?

571


Is it possible to define a single node as a Gateway node as well as worker node?

650


What is the function of union transformation?

613


Which is the t/r that builts only single cache memory?

706


What are session parameters ? How do you set them?

1375


What is the difference between STOP and ABORT options in Workflow Monitor?

691


How do you update the records with or without using update strategy?

658