whats the difference between search and search all?
Answer Posted / 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 |
Post New Answer View All Answers
What is the LINKAGE SECTION used in COBOL?
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.
What is the utilization of copybook in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is inspect in cobol ?
What is the compute verb? How is it used?
How arrays can be defined in COBOL?
IF I mention stop run in CICS what happens?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how to convert the recors form vsam file to db2 table tru file aid
What are the different rules to perform a Search?
What is the usage of comp fields in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?