What is regex (lookup)? When you should use it?

Answers were Sorted based on User's Feedback



What is regex (lookup)? When you should use it?..

Answer / rajat singh

In a regex lookup operation, each record in the lookup file must contain a regular expression in the format described in “Regular expressions in DML functions”. The regex key specifier of a regex lookup file identifies the record field to interpret as a regular expression.
A lookup function such as lookup (file_label , expression) tests the value of its second argument against the regular expression field in each record of the lookup file, until the function finds a match.

Is This Answer Correct ?    3 Yes 0 No

What is regex (lookup)? When you should use it?..

Answer / prakash balakrishnan

In INTERVAL LOOKUP we will be defining certain range of
values like 0 - 10 , 10 - 20. Similarly in regrex lookup we
will be defining values like 0|1|2|3

Is This Answer Correct ?    1 Yes 2 No

What is regex (lookup)? When you should use it?..

Answer / ramakrishna

lookup is also similar to join.. by using the following
syntax we will fetch the info from lookup


lookp("looupfilename",conidition).field want to fecth from
lookup

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Ab Initio Interview Questions

Hi friends, what are the new features in abinito3.0?

0 Answers   CTS, TCS,


How to run the graph without GDE?

1 Answers  


what is environment variables and parameters?

1 Answers  


What is the difference between rollup and scan?

0 Answers  


What do you know about partition and also tell us about partition components in abinitio?

0 Answers  






Mention what the difference between “look-up” file and “look is up” in abinitio?

0 Answers  


What are the different versions and releases of ABinitio ?

2 Answers  


how will i can implemate Insert,Update,delete in abinitio? how will u view MFS in unix?what is diff/btween conditional dml& conditional component?

3 Answers   IBM, Syntel,


how will i can implement Insert a new record (if not present in Input file),Update the record (if present in input) a csv file in Abinitio

0 Answers  


We know rollup component in abinitio is used to summarize group of data record then why do we use aggregation?

0 Answers  


We have file having country_name customer_name.For exp London Ram Bangalore Rohit London Shyam Bangalore Abhinav In output we need 2 files one file for london and second file for Bangalore.How to acheve this?

4 Answers   IMS, TCS,


How can a graph be run infinitely?

0 Answers  


Categories