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 |
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
Can the OCCURS clause be at the 01 level?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
is this below syntax correct? CALL 'subprg' using A,B Please help
How do u write test cases?
What is "Call by content" and "call by reference"?
Name the sections present in data division.
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.
diffrence between renames and redifnes with examples
how would you resolve sb37 and SE37?
what happens if we wont give timestamp in precompilation process ?