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

How can a Lookup with Dynamic Cache be replaced in a mapping? Explain.

2 Answers   TCS,


how to through logic of informatica using the push down optimization into oracle.

2 Answers   Hexaware,


wht is full process of Information source to target just like stg to productuon and development

1 Answers   Informatica,


Mention a few design and development best practices for informatica?

0 Answers  


how we do performence tuning in informatica

3 Answers  






How can we integrate different flat file data in a single mapping and with in a single execution

1 Answers  


How we will implement Pushdown Optimization and Types in Informatica with better examples

4 Answers   TCS,


Difference between Target-based loading and constraint-based loading?

0 Answers  


Explain load alternative records / rows into multiple targets - informatica

0 Answers   Informatica,


if i have source with 100 records target with 100 records and we lookup on another database table and it has 10 million record so what is the method of limiting that much record in lookup table?

2 Answers   TCS,


SOURCE NAME SAL GANGA 30000 RAJU 20000 PAVAN 25000 TARGET NAME SAL MAXSAL GANGA 30000 30000 RAJU 20000 30000 PAVAN 25000 30000 in mapping level how to achive that

5 Answers   DELL,


If you have 10 mappings designed and you need to implement some chages (may be in existing mapping or new mapping need to be designed) then how much time it takes from easier to complex?

1 Answers  


Categories