whats the difference between search and search all?

Answers were Sorted based on User's Feedback



whats the difference between search and search all?..

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

whats the difference between search and search all?..

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

whats the difference between search and search all?..

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

whats the difference between search and search all?..

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

Post New Answer

More COBOL Interview Questions

give the examples of strings in cobol

1 Answers   IBM,


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


Name the divisions, which are available in a cobol program?

0 Answers  


What is the use of intialize verb?

0 Answers  






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

0 Answers  


how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


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

0 Answers  


How to open and see copy book ?

3 Answers  


What is a scope terminator give example?

0 Answers  


Name the divisions in a COBOL program ?

7 Answers  


Categories