



The INDEXED BY phrase specifies the indexes that can be used with a table. The INDEXED BY phrase is required if indexing is used to refer a this table element. See "Subscripting Using Index-Names (Indexing)" in topic 1.5.1.8.2.
Indexes normally are allocated in static memory associated with the program containing the table. Thus, indexes are in the last-used state
Each index-name specifies an index to be created by the compiler for use by the program. These index-names are not data-names, and are not identified elsewhere in the COBOL program; instead, they can be regarded as private special registers for the use of this object program only. They are not data, or part of any data hierarchy.
In one table entry, up to 12 index-names can be specified.
If a data item possessing the GLOBAL attribute includes a table accessed with an index, that index also possesses the GLOBAL attribute. Therefore, the scope of an index-name is identical to that of the data-name which names the table whose index is named by that index-name and the scope of name rules for data-names apply.
© Copyright IBM Corp. 1991, 1998
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.