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 to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


how to refer the data field?

0 Answers  


Write a program to explain size error.

0 Answers  


what is SYNCHRONIZATION?

3 Answers   Syntel,


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.

11 Answers   Deloitte,


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

0 Answers  


Categories