hi all
my source looking like below
column1 column2
101,102,103 abc,def,ghi
1001,1002,1003 a,b,c


i want my target is

column1 column1
101 abc
102 def
103 ghi
1001 a
1002 b
1003 c


any one can you help



hi all my source looking like below column1 column2 101,102,103 abc,def,ghi 10..

Answer / fiero

Is the number of values in each column going to be a constant (i.e. 3 in this case)? If yes, there are couple of ways to do it.

Option 1:
Pass column 1 and 2 to an expression transformation.
Use string functions to determine the positions of commas in column 1 and store the values in individual output fields (e.g. 101 in field 1, 102 in field 2, etc). Do the same with the column 2 values.
Pass the individual o/p fields to a normalizer to transform the columns into rows.

Option 2:
Since the values are separated by comma, you can choose to write column 1 to a flat file target. Do the same with the column 2 values.
Then, use the files created from step 1 as CSV (delimited) file sources and use normalizer to transform them into rows.

Note: Normalizer will work only if the number of columns is known. If the number of columns can vary during run time, then you will have to think of something else.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Informatica Interview Questions

WAT IS TEXT LOAD?

3 Answers   Wipro,


I want load the data into target with out 1st and last record.

5 Answers   Yash Technologies,


How to create the list file having millions of flat files while indirect loading in informatica? In indirect file loading, suppose we have less no.of flat files then we can enter files names manually in list file creation. If millions of files are there, how can we enter the flat file names in list file?

0 Answers   HP,


how to load duplicate row in a target

4 Answers  


How to eliminate 1st and last rows from the source and load the inbetween rows.

5 Answers   Syntel,






tell me about your project functionality

0 Answers  


i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 1000 3000 6000 10000 can you plz give a sol using informatica

5 Answers   Cap Gemini,


What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?

0 Answers  


how do u move the code from development to production?

6 Answers  


How informatica recognizes mapping?

2 Answers   CTS,


Under which circumstances, informatica server creates reject files?

0 Answers   Informatica,


What are the tasks that source qualifier perform?

0 Answers   Informatica,


Categories