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|
how to display comp3 variables reply soon ?
record length in spool?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
what is the purpose of linkage section?
1)what is use of linkage section? 2)what is difference between comp and comp-3
What is Alternate Index ? How is it different from regular index ?
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
How to increase the logical record length of existing PS file?
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
How to open and see copy book ?
how many bytes does s9(7)COMP-3 field occupies?