COBOL Interview Questions and Answers

 

What should be the sorting order for SEARCH ALL?

It can be either ASCENDING or DESCENDING. ASCENDING is default. If you want the
search to be done on an array sorted in descending order, then while defining the
array, you should give DESCENDING KEY clause. (You must load the table in the specified
order).

Posted by:Richards