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
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)?
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
How you can read the file from bottom?
What is rmode(any) ?
Give some examples of command terminators?
) How do u handle errors in BMS macro?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
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?
How do you reference the following file formats from cobol programs?
What are different data types in cobol?
When is inspect verb is used in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do you differentiate between cobol and cobol-ii?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the compute verb? How is it used?