What is the difference between SEARCH and SEARCH ALL?
Answer Posted / karan
search is linear search. search the data based on condition.
search can work with multiple when conditions.
data is no need sorted order.
when ever we searching the data index clause must be used.
this will take more time compare with search all.
Search all:Binary search.
data must be a sequence either ascending or descending order .
only one when condition can be used.
this will take less time
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
What is a SSRANGE and NOSSRANGE?
When is inspect verb is used in cobol?
What is the difference between external and global variables in COBOL?
What is perform what is varying?
What rules are to be followed while using the corresponding options?
how can i see junk values in dclgen or in hostvariable of comp ?
What do you understand by psb and acb?
How do u write test cases?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is amode(24)?
Give some examples of command terminators?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is cobol?