How can we define a table? How can we apply SEARCH ALL on it ?



How can we define a table? How can we apply SEARCH ALL on it ?..

Answer / rana

If u are asking about COBOL internal tables then it can be
defined with occurs clause.

SEARCH ALL is the binary search in COBOL with only one WHEN
Condition. Remember to declare the table with INDEX if you
want to apply SEARCH ALL on it.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is deadlock in db2?

0 Answers  


i have one file having 100 of records? i want to display it like 20 records in one column and 20 records in another column total 40 records per page ? how ?

2 Answers   EDS,


What r the comman abends in db2, jcl and cobol???????

0 Answers   Mphasis,


What are the benefits of using the db2 database?

0 Answers  


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

4 Answers   Mphasis,






What is the physical storage length of time data type?

0 Answers  


What is blu acceleration in db2?

0 Answers  


What is the picture clause of the null indicator variable?

6 Answers  


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

0 Answers  


how to fetch multiple records without using cursor

14 Answers   HCL,


What are the rules for db2 programming?

0 Answers  


Are views updatable ?

4 Answers  


Categories