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.
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|
Answer / shashank v. singh
1.) serial search
2.) binary search
|Is This Answer Correct ?||4 Yes||0 No|
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
how to convert vsam table into DB2 table?
what is the advantage of using redefines instead of delaring the variables ?
Describe the difference between subscripting and indexing ?
In INITIALIZE what is Repalcing Word will do
what is the minimum number of lines a Cobol program should have to successfully compile and run
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
how we separate the cobol cics statements from cobol&cics programming?
What is the point of the REPLACING option of a copy statement?