My source is flat file which contain only one column with data type varchar.now i want to send string data types into one target and if any numbers and special characters are there that should be send it into another target.so how do you design a mapping for this?

Answer Posted / satish

Using REG_MATCH function we can check string....
Expersion trx create variable port FLAG = IIF(REG_MATCH(COL_NAME , [a-zA-Z]+,TRUE,FALSE)
router trx create port nd give condition FLAG=TRUE-------------connect to string target
Default group -----------------------------conn to( number,special char) trg
SQ-EXP-RTR-TRG

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you know when to use a static cache and dynamic cache in lookup transformation?

1333


what are all the deliverables of ETL informatica power center project? what are all updated or created by etl developer as his everyday activities?

1769


in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

1648


What is InformaticaPowerCenter?

681


What is the maplet?

616






What are multi-group transformations?

562


What is rank transformation?

577


What is a filter transformation?

564


Differentiate between a repository server and a powerhouse?

574


generate date / time dimension in informatica

717


What are the new features of informatica 9.x at the developer level?

601


-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?

4969


What is expression transformation?

629


What is different between the data warehouse and data mart?

629


What is the need of etl tools?

605