What is the difference between SEARCH and SEARCH ALL?

Answer Posted / karan

search is linear search. search the data based on condition.
search can work with multiple when conditions.
data is no need sorted order.
when ever we searching the data index clause must be used.
this will take more time compare with search all.

Search all:Binary search.
data must be a sequence either ascending or descending order .
only one when condition can be used.
this will take less time

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

632


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2120


How you can read the file from bottom?

660


What is rmode(any) ?

686


Give some examples of command terminators?

759






) How do u handle errors in BMS macro?

1429


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2733


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379


How do you reference the following file formats from cobol programs?

695


What are different data types in cobol?

691


When is inspect verb is used in cobol?

678


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


How do you differentiate between cobol and cobol-ii?

658


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


What is the compute verb? How is it used?

661