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 difference between COBOL and VS COBOL II?.
What is the difference between comp and comp-3?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
Syntax for JCLLIB & JOBLIB???
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
how do you reference the variable unblock file formats from cobol programs
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
In INITIALIZE what is Repalcing Word will do
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
what is the difference between implicit and explicit scope terminator with example?
What are various search techniques in cobol? Explain.