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 |
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
how to display comp3 variables reply soon ?
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
What do you feel makes a good program?
whats the difference between search and search all?
what is the advantage of using redefines instead of delaring the variables ?
Write the syntax of a two dimensional array?
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
What is an in-line perform ?
wht happens if we dnt give scope terminator ?
how to move the records from file to array table. give with code example