I have the input file as
col1 col2 col3
3 2 1
7 6 8
I should get the output as
col1 col2 col3
1 2 3
6 7 8 ....What is the logic to get this? Is there any
transformation which sorts row wise ? If not how to sort
the incoming records row wise?

Answer Posted / ankit kansal

You have to use an expression transformation and have two create three variables and output ports and have to write IIF() conditions for all three columns to achieve your desired order.

http://deepinopensource.blogspot.in/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1323


What is a joiner transformation?

558


Clarify the utilization of aggregator cache record?

578


hi friends .i designed mapping in windows but i want to run mapping in linux.should i install the server components in linux?

1529


What is sequence generator transformation in informatica?

625






Can informatica load heterogeneous targets from heterogeneous sources?

697


What is a mapplet/worklet in informatica?

692


What are the settings that you use to configure the joiner transformation?

613


How do you load first and last records into target table?

666


what is size of u r database?

1850


How to generate sequence numbers?

618


Slowly changing dimensions, types and where will you use them

1274


Partition, what happens if the specified key range is shorter and longer

2031


Where is metadata stored?

623


What is the difference between stop and abort in informatica

663