LIST.INDEX |
![]() ![]() ![]() |
The LIST.INDEX command reports details of one or more alternate key indices.
Format
LIST.INDEX filename field(s) {STATISTICS} {DETAIL}
The LIST.INDEX command displays information about alternate key indices for the named field(s). The keyword ALL can be used to report all indices on the file.
The basic report appears as below.
Alternate key indices for file ORDERS Number of indices = 1
Index name...... En Type Nulls S/M Fmt Field/Expression DATE Y D Yes S R 17
The columns following the index name show:
Use of the STATISTICS (short form STATS) keyword extends the report to include statistical information about the index showing the number of index entries (different field values) and the minimum, average and maximum number of records per index entry.
Use of the DETAIL keyword shows the statistics and also shows up to 63 characters of each key value and the number of records for that key value.
See also: |