i have a flat file and the file s are like below
****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$
IN THIS FORMATE
Means un limited special charecter between and sides of the
string data..output should be(GANESH)
HOW YOU HANDEL THIS TYPE OF RECORDS,,COZ U DON"T KNOW WHERE
AND WHAT ARE THE SPECIAL CHARACTERS IN BETWWEN THE NAME...

Answers were Sorted based on User's Feedback



i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / meenakshivc

Hi,

use this function for above question,
replacestr(0,col,'$','!','@','#','%','^','&','*', NULL)
or
replacechr(0,col,'$!@#%^&*', NULL)

Is This Answer Correct ?    8 Yes 1 No

i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / ratalarayudu

hi,

By using replacechr function we can remove unwanted characters .


Regards,
Rayudu.

Is This Answer Correct ?    7 Yes 1 No

i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / rams

replacechr(0,reg_replace(input,'[^a-z A-Z]','/')'/',null)

Is This Answer Correct ?    3 Yes 0 No

i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / manasa

please put down the replace command for the above question

Is This Answer Correct ?    0 Yes 0 No

i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / hari

We can use reg_match function in informatica with required
regular expression to allow the charchters and number
format u need . In this way we can easily restrict any
special charchter.

Is This Answer Correct ?    0 Yes 0 No

i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THI..

Answer / anirban_ghosh

Since it's been said...we know nothing of the special characters present in between...therefore..the wise thing would be tp extract each character and compare it with the (int value) of the alphabets......if the (int) value of the extracted character is between....65-90 or 97-122......store it in a queue......at the end....flush out the queue....that's it!!!

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

What are teh different tasks that can be created in workflow manager?

1 Answers   NIIT,


I am having a FLAT FILE SOURCE as first line: 1000,null,null,null second line as:null,2000,null,null 3rd line as :null,null,3000,null and final line as: null,null,null,4000 ............................Now i want the OUTPUT as 1000,2000,3000,4000 to a FLAT FILE only.For more clarification i want to elimate nulls and want in a single line. Please help me out

5 Answers   IBM,


In which situation we will use persistant cache and shared cache in real time. plzsss answer with example

1 Answers   Wipro,


In ur current projectu have done any performance tuning of mappings?

1 Answers  


What is the Rankindex in Ranktransformation?

7 Answers  






how to duplicates from expression transformation without using sorter before that

1 Answers  


Explain direct and indirect flat file loading (source file type) - informatica

0 Answers   Informatica,


What is query panel?

1 Answers  


How can informatica be used for an organization?

0 Answers  


write sql query to filter the null value data following table? name age john 30 smith null null 34 sharp 24 i want the output following are name age john 30 sharp 24

2 Answers   HP,


waht is dataware house

2 Answers  


Let’s say I have more than have record in source table and I have 3 destination table A,B,C. I have to insert first 1 to 10 records in A then 11 to 20 in B and 21 to 30 in C. Then again from 31 to 40 in A, 41 to 50 in B and 51 to 60 in C……So on up to last record.

5 Answers  


Categories