Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / vijaya

By using function isnumber(), is string() in expression editot you get the solution

Is This Answer Correct ?    6 Yes 4 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / santosh kumar sarangi

1.in expression t/r create one more port as below.
FLAG(integer)=IIF(LOWER(COL1)=UPPER(COL1) ,1,0)
2.Link the original port and FLAG port to router and create
a group as FLAG=1
3.Link the original port from the group to target of number
or special charater and default to target of character.

Let me know if any things wrong
Thanks and Regards
Santosh

Is This Answer Correct ?    2 Yes 0 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / kamlesh mishra

Use is_number(field) and not is_number(field) functions in router transformations

Is This Answer Correct ?    0 Yes 0 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / 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

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / davan

In expresion t/r just give data type as string only...

Is This Answer Correct ?    0 Yes 4 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / swarna.latha165

please tell me the solution

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Informatica Interview Questions

Is it necessary to maintain the primary-foreign key relation ship between the targets in informatica while loading using constarint based loading or it is required only at database level ??

1 Answers   IBM,


i have source data like id name sal 1 a 65020 2 b 78250 3 c 58264 but how to get target like this id name sal 1 a Sixty five thousand twenty 2 b Seventy thousand two fify 3 c Fifty eight thousand two sixty four

3 Answers  


There are 100 lines in a file. How to print line number 31-50 and 81-90 in unix with a single command.

2 Answers   L&T,


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

0 Answers   CTS,


I've a denormalized table EMP(empno,ename,phone,addr1,addr2,fax,email). Now I want to insert the record into target in the format that, there will be 2 target rows for 1 source record. In target the row needs to be inserted as: ROW1: empno,ename,addr1,phone ROW2: empno,ename,addr2,fax,email And I'm not allowed to normalize transformation. How to achieve?

1 Answers   IBM,


In Flat file, I need Header, Footer and No of rows in Last column. How will u achieve in Mapping Level(With out using Session Level Property)?

1 Answers   iNautix,


What are the join types in joiner transformation?

1 Answers   Informatica,


what is song in infrmatica...?

0 Answers   CTS,


how will compare two mappings in two different repository?

2 Answers   Real Time, TCS,


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

0 Answers  


How to Create a folder using pmrep command?

0 Answers  


Define sessions in informatica etl?

0 Answers  


Categories