Whats the difference between search & search ALL?

Answers were Sorted based on User's Feedback



Whats the difference between search & search ALL?..

Answer / sushant kumar mohanty

Search : Sequential Search.
Table should have INDEX.
Table need not be in SORTED order.
Search ALL : Binary Search.
Table should have INDEX.
Table should be in sorted order of the searching
argument. There should be ASCENDING/DESENDING
Clause.

Is This Answer Correct ?    3 Yes 0 No

Whats the difference between search & search ALL?..

Answer / rajvee

search needs the index to be set before use..search all
doesnt need it.

Is This Answer Correct ?    0 Yes 0 No

Whats the difference between search & search ALL?..

Answer / rajvee

Search is Sequential Serach whereas Search All is Binary
Search.
Search needs the index key for the array whereas Search All
doesnt need it.
Search All is ideal for searching huge volume of data else
Search is easier.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


) How do u handle errors in BMS macro

0 Answers   IBM,


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


how can you identify wheather the program is using search or search all in the cobol program?

5 Answers   iGate,


What is the use of LINKAGE SECTION?

1 Answers  






What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


Write the code to count the sum of n natural numbers.

0 Answers  


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


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?

0 Answers  


How do you set a return code to the JCL from a COBOL program?

4 Answers  


Categories