Programming Languages
COBOL
Subjective
Mar 15, 2013
What are the different rules applicable to perform a binary SEARCH?
Detailed Explanation
The table must be sorted in ascending or descending order before the beginning of the SEARCH. Use OCCURS clause with ASC/DESC KEY IS dataname1 option
The table must be indexed. There is no need to set the index value. Use SEARCH ALL verb
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts