Answer Posted / vidhya
Serial search is most cost-effective up to 70 rows, If the
table has more than 70 rows then Binary search is effecient.
The table should be in ascending or descending order
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the different rules of SORT operation?
how do you reference the variable block file formats from cobol programs
What is Pic 9v99 Indicates in COBOL?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are declaratives and what are their uses in cobol?
What is static and dynamic call in cobol?
What is redefines clause in COBOL?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
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?
What is perform what is varying?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is a scope terminator give example?
What is length is cobol?
Write a program that uses move corresponding.