Interview Questions

What is the difference between in dex and subscript?

COBOL Interview Questions


(Continued from previous question...)

What is the difference between in dex and subscript?

Subscript refers to the array occurrence while index is the displacement ( in np of bytes) from the beginning of the array. An index can only be modified using PERFORM, SEARCH & SET. Need to have index for a table in order to use SEARCH, SEARCH ALL.

(Continued on next question...)

Other Interview Questions