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 local and formal parameter?

0 Answers  


Difference between public and private projects and how to make private to public?

1 Answers  


Can you run air sandbox run using pset ?

2 Answers  


Output for sort and dedupsort with NULL key?

6 Answers  


How you can run a graph infinitely in ab initio?

0 Answers  






What information does a .dbc file extension provides to connect to the database?

0 Answers  


How can I run the 2 gui merge files?

0 Answers  


Can any body give me the clear explanation about how to separate header,trailer and body records in Ab Initio?

2 Answers   TCS, Wipro,


Do you know what a local lookup is?

0 Answers  


What is the role of co-operating system in abinitio?

0 Answers  


What is the significance of ‘mp run’ command ?

1 Answers   TCL,


Explain PDL with an example?

0 Answers  


Categories