I have a source as flat file and having data like
""TCS"MUMBAI" and i want output like TCS MUMBAI,the length
of the data in the rows is variable.how can you fix it?

Answer Posted / ramesh

replacechar(columnname,instr(columnname,'"',1,2),' ')

the instr function finds the position of the char i.e. " in the second occurence and 'replacechar' replaces it with null.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we can load rejected record's at run time?(not through bad files)

1913


What is informatica? Why do we need it?

643


Parameter and variable differences

1618


How to extract sap data using informatica?

607


Lookup transformation, one condition is having SQL override (Empno < 10) and the other condition is Lookup (Sal>1000), which is dynamic. How will u resolve this situation?

2430






Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

1625


How we can create indexes after completing the load process?

616


How to generate sequence numbers using expression transformation?

646


How to create Target definition for flat files?

756


What are the issues you have faced in your project? How did you overcome those issues?

1917


What is a surrogate key?

563


Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?

1748


What are different types of transformations available in informatica?

588


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

611


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

671