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


Please Help Members By Posting Answers For Below Questions

Mention the guidelines to write a structured cobol program?

620


What kind of error is trapped by on size error option?

744


What are 77 levels used for?

661


Have you used comp and comp-3 in your project? And how?

2011


Write a cobol program making use of the redefine clause.

739






What are the access modes of START statement?

719


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1808


When is inspect verb is used in cobol?

679


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1234


Define static linking and dynamic linking.

669


how do you reference the variable block file formats from cobol programs

688


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


In COBOL, what is the different between index and subscript?

763


What are the different rules for performing sort operation?

766


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744