What is the difference between SEARCH and SEARCH ALL?

Answer Posted / sharath

SEARCH
1)Linear/sequential search
2)No sorting order because its seq. order
3)access is slow
4)Any relational operator is used
SEARCH ALL
1)Binary search
2)Sorting either asc/dsc order
3)Access is faster
4)Only equal operator can be used.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1230


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


what are decleratives in cobol?

1827


What are the access modes of START statement?

719


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

688






How many bytes S(8) comp field occupy and its maximum value?

1634


What is amode(31)

724


What is length is cobol?

650


What is the local-storage section?

683


Difference between cobol and cobol-ii?

708


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6834


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

1716


Explain how to differentiate call by context by comparing it to other calls?

689


Write the code implementing the perform … varying.

646