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

Mention what are the different types of parallelism used in abinitio?

0 Answers  


What will be the output when a file with 0 records is connected as input to a reformat and an output file? Note that in reformat we have assigned hardcoded values to output columns.

0 Answers  


Mention what is rollup component?

0 Answers  


Explain how you can run a graph infinitely in ab initio?

0 Answers  


How many components in your most complicated graph?

0 Answers  


. What is flow buffering ? How it reduces the chances of having deadlock ?

1 Answers   HCL,


When running a stored procedure definition script how would you guarantee the definition could be rolled back in the event of problems?

0 Answers  


What do you mean by continuous graph? what is it significance?

1 Answers   IBM,


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

0 Answers  


Do you think effective communication is necessary for data processing?

0 Answers  


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

0 Answers  


Describe the effect of the "checkpoint" t-sql statement?

1 Answers  


Categories