Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
Indexing is data reference that results when CA-Easytrieve/Plus derives a displacement value to correspond to a particular occurrence in a field name defined with the OCCURS option.
For example, if an occurring field is defined as:
DEFINE MONTHWORD MONTH-TABLE 9 A +
OCCURS 12 INDEX MONTH-INDEX
Subscripts are an alternate method available where CA-Easytrieve/Plus performs the index computation.