Cobol Question:

What is the different between index and subscript?

Cobol Interview Question
Cobol Interview Question

Answer:

Subscript refers to the array of occurrence, where as Index represents an occurrence of a table element. An index can only modified using perform, search & set. Need to have an index for a table in order to use SEARCH and SEARCH All.


Previous QuestionNext Question
What is Redefines clause?What is the difference between Structured COBOL Programming and Object Alternativelyiented COBOL programming?