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 are the different types of condition in cobol and write their forms.
How many sections are there in data division in COBOL?
When is inspect verb is used in cobol?
Write the code to count the sum of n natural numbers.
Why did you choose to work with ibm mainframe cobol programming?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What are 77 levels used for?
i need a small 3d program using inline and outline.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?