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

Write some characteristics of cobol as means of business language.

0 Answers  


What is EIBCALEN? Why it is used?

9 Answers   ADP,


wht is the difference between goto and perform stmts

7 Answers   DELL,


what is SYNCHRONIZATION?

3 Answers   Syntel,


tell me about examine inspect and evaluate ?

2 Answers   CTS,






What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

0 Answers  


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


Why would you use find and get rather than to obtain?

0 Answers  


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


Categories