# i (remote index) processing code

The i processing code is used as an
input-conversion (attribute 14) and indicates that this attribute
is based on data indexed in another file. When editing data in this
attribute, the user can cruise both forward and backward through the
index in the specified secondary file.

| CTRL+Y | Accesses the previous attribute value based on the index. |
| --- | --- |
| CTRL+U | Accesses the next attribute value in the secondary file. |
Data displayed is subject to the conversion codes in the
primary file dictionary. If the algebraic code is other than the item-ID
of the secondary file, a translation (tfile) processing
code must be specified to allow cruising through the secondary file
index.

This processing code is supported only from the VME.

| System Processors | Update |
| --- | --- |
| Code Type | Attribute Defining |
| Dictionary Attributes | Input Conversion |

## Syntax

```
Ifile.reference;a.code
```

## Parameter(s)

| file.reference | Name of the secondary file to which the primary file is indexed. |
| --- | --- |
| a.code | Indicates the algebraic code indexed in the secondary file. |

## Description

In the Update processor, the
index code allows *zooming* (moving through a defined *doorway* to another file). By pressing CTRL+G when the cursor is at the end
of the attribute, the user accesses the item addressed by the value
of the attribute. A file exit command returns the user to the previous
screen. The view displayed is subject to the processing codes in the
dictionary of the secondary file. The secondary file attributes displayed
when zooming can be specified in attribute 15 of the attribute-defining
item of the primary file. If they are not specified, the default displays
the attributes defined on the macro dictionary of the remote file-defining
item.

Both an i (local index) and an i*file.reference*;*a.code* (remote index) processing code can be specified
in an input-conversion. When these two processing codes are specified
in the same attribute-defining item, CTRL+D and CTRL+F function differently
depending on the order. If the i*file.reference*;*a.code* code is specified before
the i code, and if either CTRL+D or CTRL+F is pressed,
the Update processor accesses the index specified by the first code
in the secondary file and gets the previous or next attribute value
for the specified index key. The Update processor uses the index in
the secondary file as it would use an index in the primary file. If
the i code is specified first, the index in the
primary file is used when CTRL+D or CTRL+F is pressed.

## See also

- [Cruising and zooming commands](https://d3codex.com/updateprocessor/cruising-and-zooming-commands/)
- [i (local index) processing code](https://d3codex.com/processingcodes/i-local-index-processing-code/)
- [Processing codes (Update processor)](https://d3codex.com/updateprocessor/processing-codes-update-processor/)
- [macro attribute](https://d3codex.com/updateprocessor/macro-attribute/)
- [output-conversion](https://d3codex.com/attributedefiningitem/output-conversion/)
- [Processing codes overview](https://d3codex.com/processingcodes/processing-codes-overview/)
- [Processing codes (Update processor)](https://d3codex.com/updateprocessor/processing-codes-update-processor/)
- [t (translate) processing code](https://d3codex.com/processingcodes/t-translate-processing-code/)

---
Source: https://d3codex.com/processingcodes/i-remote-index-processing-code/ - part of the D3Codex reference.
