Answer Posted / sachin
Prefer when the table size is significantly large.
When the size of the table is large and it is arranged in
some sequence -either ascending or descending on search
field, then BINARY SEARCH would be the efficient method.
Table should be in sorted order of the searching argument.
There should be ASCENDING/DESCENDING Clause.
Index need not be set to 1 before SEARCH ALL.
Compare the item to be searched with the item at the
center. If it matches fine, else repeat the process with
the left or right half depending on where the item lies.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro?
how do you reference the variable block file formats from cobol programs
Write a program that uses move corresponding.
What are the cobol coding sheets?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Name the sections present in data division.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
i want a program using by if, evaluate , string, unstring, perform, occurs?
example for sub strings ? and refernce modifications whit output pls
Write a program to enter and display the names of students in a class using the occurs clause.
How to know whether the module is dynamical or statistical?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is inspect in cobol ?
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?