| i (index, File-defining Item) | Index Level | i (index, remote) |
| Syntax | |
| Category | Processing Codes |
| Type | Processing Code |
| Description |
indicates that an index exists for the current attribute.
It must be defined in the attribute-defining item which corresponds to a "local" b-tree index previously created with a "create-index" command. Utilizing D3's b-tree indices consists of a two step process: The first step is the creation of the index. The "create-index" establishes a new B-tree index. The second step is defining the attribute index correlative on the input-conversion attribute of the dictionary. There may be one (either "local" or "remote") or two (one "local" and one "remote") indexes defined in any given attribute-defining item. To access data in other files, see "index, remote". When editing data in the attribute using the Update processor, the operator can "cruise" forward and backward through the items in the file. <ctrl>+d accesses the previous item based on the index; <ctrl>+f accesses the next item. A bell signifies the beginning or end of the index. There can be more than one index created on any given attribute. If more than 1 index exists, the desired format must be specified. |
| Options | |
| See Also | create-index cruising ud i (index, File-defining Item) output-conversion processing codes index, local b-tree input-conversion double-clutching a (algebraic) i (index, remote) Processing Codes macro |
| Example |
Create an index on attribute 1:
create-index filename a1 The "i" processing code must be added to the input-conversion attribute of the corresponding attribute-defining item before the index may be used by the Update processor. Create an index consisting of attribute 1 concatenated with attribute 2. create-index filename a1:2 |
| Warnings | |
| Compatibility | D3 7.0 AP |
| i (index, File-defining Item) | Index Level | i (index, remote) |