What is the difference between SEARCH and SEARCH ALL? What
is more efficient?

Answer Posted / kumar raja.

1st answer is 100% correct.

Search
The search statement examines the table elements in a
sequential manner.this technique is called linear search.

Search-All
Is a binary search begins the examination of the elements
from the middle and in each examination it eliminates the
half the elements remaining to be searched.its applicable
only for sorted table.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

815


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

711


What are the pertinent COBOL commands?

2621


What are all the divisions of a COBOL program?

662


What is length is cobol?

648






HOw can I get the negative sign while deduct high value from low value

1787


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1610


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

742


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5057


how do you reference the printer file formats from cobol programs

658


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1842


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1646


Which division and paragraphs are mandatory for a COBOL program?

707


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

681


what are decleratives in cobol?

1827