my source is a comma delimited flatfile as
eno, ename, sal
111,sri,ram,kumar,1000
and my target should be
eno ename sal
111 sri ram kumar 1000
i.e; we need to eliminate the commas in between the data of a comma delimited file.

Answers were Sorted based on User's Feedback



my source is a comma delimited flatfile as eno, ename, sal 111,sri,ram,kumar,1000 and my targ..

Answer / rajesh kumar

see while we load into source analyser as considerd as cama
separated it shows us 5 columns
now we should replace the 'cama' with null
use s->s/q-->expre-->target
give additional outputport as ename
exp condition=column2||''||column3||''||column3

Is This Answer Correct ?    6 Yes 1 No

my source is a comma delimited flatfile as eno, ename, sal 111,sri,ram,kumar,1000 and my targ..

Answer / ahalya inturi

Go to the session properties.In that go to connections in that select the source name there you will find "Set file Properties" button. There you can set the delimeter.

Is This Answer Correct ?    2 Yes 1 No

my source is a comma delimited flatfile as eno, ename, sal 111,sri,ram,kumar,1000 and my targ..

Answer / rakesh

no my question is clear. and my target is oracle table.

Is This Answer Correct ?    0 Yes 0 No

my source is a comma delimited flatfile as eno, ename, sal 111,sri,ram,kumar,1000 and my targ..

Answer / isha

Go to session --> Mapping tab --> click on your target file --> Select File Properties (from the file properties in the right)
This will open the file properties window, click on the advanced button and in the next popup you should be able to see the delimiter option in the top. You can now replace the delimiter you want with the existing one.

Is This Answer Correct ?    0 Yes 0 No

my source is a comma delimited flatfile as eno, ename, sal 111,sri,ram,kumar,1000 and my targ..

Answer / guest

Your question seems need some correction.
Source might be as below
eno, ename, sal
111, sri ram kumar, 1000
and target you might need like a space delimited one. If
this is the case you can sed command to replace the string.

if your file is as mentioned by you also it will be same.

If my understanding is wrond then eleborate your question
clearly.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Informatica Interview Questions

source target --------- -------- name no sal name no sal max_sal r 10 1000 r 10 1000 3000 y 20 3000 y 20 3000 3000

7 Answers   Cap Gemini,


Hi I have a source (flat file) like ID Name Attachments 101 abc [07012005072902]_CMM27-11-01 Page106 (2).pdf 102 bcd "[19012005124259]_Anfrage-Vendors.doc [19012005124336]_Anfrage.xls" 103 def "[19012006092602]_IMG_0310.JPG 19012006092631]_IMG_0311.JPG [19012006092702]_IMG_0312.JPG [19012006092727]_IMG_0313.JPG" But I need to generate duplicate records based on attachments column. Target (Table) like ID Name Attachments 101 abc [07012005072902]_CMM27-11-01 Page106 (2).pdf 102 bcd 19012005124259]_Anfrage-Vendors.doc 102 bcd [19012005124336]_Anfrage.xls 103 def [19012006092602]_IMG_0310.JPG 103 def [19012006092631]_IMG_0311.JPG 103 def [19012006092702]_IMG_0312.JPG 103 def [19012006092727]_IMG_0313.JPG 103 def [19012006092750]_IMG_0314.JPG 103 def [19012006092814]_IMG_0315.JPG Here no. of Attachments we can't decide because it is dynamic. It will be great if somebody help me on this. Thanks in Advance. ganga

2 Answers  


how to convert 101 raja 101 raja sekar reddy 101 sekar----------> 101 reddy

2 Answers  


What are the circumstances that infromatica server results an unreciverable session?

1 Answers  


How can we delete duplicate rows from flat files?

0 Answers  






i have 1000 records in my dource table, the same i have in target ,but a new column added in target as "batchno", and this column adds no 10 for 1st 100 records and 20 for next 100 records and 30 next 100 records and vice versa. how to acheive this?

6 Answers   Thomson Reuters,


In session log thier should not be a single error how will u do

3 Answers   HCL,


What is the commit type if you have a transaction control transformation in the mapping?

0 Answers   Informatica,


write a sql query following source? subject mark maths 30 science 20 social 80 requird output maths science social 30 20 80

3 Answers   iGate,


which transformation uses cache?

3 Answers   Keane India Ltd,


What is a predefined event?

0 Answers  


tell me about your project functionality

0 Answers  


Categories