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

what is the difference between usersandbox,privatesandbox,publicsandbox,commonproject sandbox?

0 Answers  


what is meant by fancing in abinitio ?

3 Answers  


What is the difference between Generate Records Component and Create Data Component?

6 Answers   Steria,


how to calculate EME version using unix ?

6 Answers   Accenture, IBM,


What is the default layout of a component ? Is it mandatory to set the layout of a component ?

3 Answers   IBM,


What is the Reformat Layout?(i/p ->Reformat->o/p)

2 Answers   IBM,


)what is wrapper script?where it is going to execute and why we go for wrapper?

1 Answers   Satyam,


How do you truncate a table?

0 Answers  


What are the reasons for which business can trust the approach of data processing?

0 Answers  


What is AB_LOCAL expression where do you use it in ab- initio?

5 Answers   Cognizant,


what does layout means in terms of Ab Initio?

3 Answers  


How will u remove header record? How will u remove tailer record?

5 Answers   EDS, Polaris,


Categories