Answer Posted / vish
If you talk in COBOL, then yes we have type os searches -
sequential search and Binary search.
Syntax:
SEARCH - Sequential
SEARCH ALL - Binary
It is important to note that for the Binary search the
input file (or table) must be sorted order else the result
of the SEARCH ALL will be wrong.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the difference between external and global variables in COBOL?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how to refer the data field?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
In COBOL, what is the different between index and subscript?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How do we get current date from system with century in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Write the code to count the sum of n natural numbers.
Describe the cobol database components?
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.
explain sorting techniques in cobol program?
What is the difference between Global and External Variables?
What are the rules of the move verb?
) what is the difference between AID and HANDLE AID?