# nframe-index command

The nframe-index command produces a
total of the number of frames in use by a specific B-tree index, or
all indexes if indicated by an asterisk.

## Syntax

```
nframe-index file.reference a.code
nframe-index file.reference*
```

## Parameter(s)

| a.code | Specifies the a processing code to be used in forming the keys to the index. The processing code must include an attribute number. |
| --- | --- |
| * | Designates all indexes. Note: Either an a processing code or an * must be specified. |

## Example(s)

This indicates that 67 frames
are in use by the index which defines attribute one of the invoices
file.

```
nframe-index invoices a1
Total of 67 frames counted.
```

```
nframe-index invoices *
```

## See also

- [a (algebraic) processing code](https://d3codex.com/processingcodes/a-algebraic-processing-code/)
- [B-tree](https://d3codex.com/definitions/b-tree/)
- [create-index command](https://d3codex.com/tcl/create-index-command/)
- [delete-index command](https://d3codex.com/tcl/delete-index-command/)
- [File-of-files file (VME)](https://d3codex.com/systemfiles/file-of-files-file-vme/)
- [istat command](https://d3codex.com/access/istat-command/)
- [Processing codes](https://d3codex.com/processingcodes/processing-codes/)
- [verify-index command](https://d3codex.com/tcl/verify-index-command/)

---
Source: https://d3codex.com/tcl/nframe-index-command/ - part of the D3Codex reference.
