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
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
what happens if parmparameter passes zero bytes to the program
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
HOw can I get the negative sign while deduct high value from low value
How to print 10 to 1 if the input have only 10 digit number?
How do you reference the fixed block file formats from cobol programs
What type of SDLC u followed? Why?
In COBOL programming, what is PERFORM? What is VARYING?
Write down the divisions of cobol program?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Can we redefine the field of x(200) to less than 200?
What are the various section in data division and briefly explain them.