Can anyone tell me, when a flat file contains different
kinds of delimeters available for each line ( For Ex: First
line contains [,*&#$] and second line contains [%@$#%^].
Like that all records having different kinds of delimeters.
How can we implement this kind of flat file in informatica?

Answer Posted / murali udayagiri

Write a pre-process shell script by using the below 2nd
command and overwrite to another file, use overwritten file
as source for loading.

1)
$ cat multi_delimeter.txt
1,murali%100#10
2%krishna#200,20
3%sasi%232,10
1%murali%100,30
4,krish,200%20

2)
$ sed -e 's/,/|/g' -e 's/%/|/g' -e 's/#/|/g' multi_delimeter.txt
1|murali|100|10
2|krishna|200|20
3|sasi|232|10
1|murali|100|30
4|krish|200|20

Thanks,
Murali Udayagiri

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of informatica?

650


What are the databases that informatica can connect to windows?

583


what are the deliverables?in your project?

1657


is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?

627


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

773






what is song in infrmatica...?

1678


As union transformation gives UNION ALL output, how you will get the UNION output?

645


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

7767


In informatics server which files are created during the session rums?

639


tell me about your project functionality

1868


What are multi-group transformations?

566


What are the types of caches in lookup?

570


What are the data movement modes in informatica?

703


What are active transformations.

1188


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

697