Index-name

An index-name identifies an index. An index can be regarded as a private special register that the compiler generates for working with a table. You name an index by specifying the INDEXED BY phrase in the OCCURS clause that defines a table.

You can use an index-name in only the following language elements:

  • SET statements
  • PERFORM statements
  • SEARCH statements
  • Subscripts
  • Relation conditions

An index-name is not the same as the name of an index data item, and an index-name cannot be used like a data-name.