i have source like
X1 10
X2 20
X1 30
X2 40

i want target as
X1 X2
10 20
30 40 in informatica

Answer Posted / sushma

SOURCE--->SOURCE QUALIFIER ----> EXPTRANS1 -----> FILTER ---
--> EXPTRANS2 ------> TARGET

In EXPTRANS1, concatenate X1 and X2 values for every 2nd
record (ie X= X2). Lets call this output column as
x1x2_value
Note: I am concatenating for every second record as X1 and
X2 appear alternatively In your sample data,

In the filter transformation, have the filter condition
X='X2' (only these recs have the concatenated data)

In EXPTRANS2, Using substr to split the data into X1 and X2
and load it into target table

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we override a native sql query within informatica? Where do we do it? How do we do it?

606


What are junk dimensions?

643


Different sorts of metadata that stores in the storage facility?

574


what is the -ve test case in your project.

1868


Explain sessions?

613






How might you approve all mappings in the archive all the while?

617


What is the need of etl tools?

621


Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?

622


Under what condition selecting sorted input in aggregator may fail the session?

677


Please let me know how to make Data masking in informatica..

1281


Please let me know how to make encryption and decryption with example?

1482


What is the difference between Active and Passive transformation?

644


Explain why we use partitioning the session in informatica?

620


Explain the different lookup methods used in informatica?

599


Explain target update override in informatica

640