Interview Questions

What should be the sorting order for SEARCH ALL?

COBOL Interview Questions


(Continued from previous question...)

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 specfied order).

(Continued on next question...)

Other Interview Questions