What are the two search techniques ?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between working storage copybook and linkage section copybook?
In the JCL, how do you define the files referred to in a subroutine ?
What is the difference between a binary search and a sequential search?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
why we are using picture clause in the cobol programs?
What is the file organization clause ?
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.
Describe the difference between subscripting and indexing ?
Whtz the specialty of 77 level number ?
TYPES OF SORTINGS. which is more prefarable.