whats the difference between search and search all?
Answers were Sorted based on User's Feedback
Answer / snehatechm
search is sequential search and it starts from position 1
search all is binary search and it starts searching from the
centre and if it does not match it searches in left or right
based on requirement
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / adarsh562
search is sequential search used for one dimensionl table
and one dimensional of multi dimensioan tables.the elements
need not be sorted.
search all is binary search.the elements must be sorted
before performing this statement
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / siddu
search is sequential search.in this data need not be in
sorted ordern sorted order. while dealing with less amount
of data search is much efficeint
searchall is binary search. here data must be in sorted
order. while deeling with lorge amount of data searchall is
efficient
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / khasim
Search is Sequential Search. Records need not in sorted
orer.
Searchall is Binary Search. Records should be in sorted
order.
In Search we should set position where we start.
In Searchall, we will not set the position.
We can write more than one WHEN clause in Search. But in
search all we should write only one WHEN clause.
| Is This Answer Correct ? | 1 Yes | 0 No |
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
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.
I have a occurs for 100 times but it has executed 101 time what could be the reason?
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
how do you reference the variable unblock file formats from cobol programs
How do you get the data to code the BMS macro?
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is cobol?
How to resolve the soc4 and soc7 errors?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.