What is the difference between index and subscript?


Subscript refers to the array occurrence while index is the displacement (in no 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.

Be the first to comment

Leave a Reply

Your email address will not be published.


*