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 redefines clause in COBOL?
What are the different open modes available in cobol?
Which mode is used to operate the sequential file?
How many bytes S(8) comp field occupy and its maximum value?
How do you get the data to code the BMS macro?
i need a small 3d program using inline and outline.
Why occurs cannot be used in 01 level in COBOL?
) how do u code after getting data?
how do you reference the printer file formats from cobol programs
What are the different rules to perform a Search?
Name the divisions, which are available in a cobol program?
Give some examples of command terminators?
Why would you use find and get rather than to obtain?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How are the next sentence and continue different from each other?