# reallocation

Used to resize a file when it is restored. Before the file
is saved, the new modulo is placed into attribute 13 of a file-defining
item. During an account-restore or full file restore,
the file is restored at the new size. If a file is too small, updating
attribute 13 and account-save, delete-account, then account-restore causes the system to allocate
more frames in the primary space for the file.

Note: Parentheses will enclose the reallocation number.

## Example(s)

Notice that the file has a modulo
of 31 frames and during the next account-restore the modulo is reallocated to 97 frames.

```
ct dict employees employees employees
001 d
002 6165
003 31
004
005
006
007
008
009 l
010
011
012
013 (97)
```

## See also

- [account-restore command](https://d3codex.com/tcl/account-restore-command/)
- [account-save command](https://d3codex.com/tcl/account-save-command/)
- [f-resize command](https://d3codex.com/tcl/f-resize-command/)
- [Group](https://d3codex.com/definitions/group/)

---
Source: https://d3codex.com/attributedefiningitem/reallocation/ - part of the D3Codex reference.
