What is the difference between SEARCH and SEARCH ALL? What
is more efficient?
Answer Posted / basha, margadarsi comp
SEARCH is a sequential search, it will read all the elements
of a table sequentially whereas SEARCH ALL, it will splits
the table in two halves and search the element in which half
the element find like that the entire table will be searche
and also the table should be in sorted order for SEARCH ALL.
SEARH ALL is more efficient than SEARCH.
| Is This Answer Correct ? | 45 Yes | 1 No |
Post New Answer View All Answers
what is search and searchall?what is the diffrence between them?give an best example?
Write a program to explain size error.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Name the divisions, which are available in a cobol program?
Which division and paragraphs are mandatory for a COBOL program?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the usage of comp fields in cobol?
Can we redefine the field of x(200) to less than 200?
Discuss about changing dataset name in proc.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the difference between goback, stop run and exit program in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
) how do u code after getting data?
Name the sections present in data division.
What rules are to be followed while using the corresponding options?