# XFRMMO
> [HTML Version](xfrmmo_sbr.htm)
**xcall XFRMMO, opstat, ch1, link1, ch2, link2**
XFRMMO is an utility to move or copy an [INMEMO](inmemo_sbr.htm.md) logical memo, either between two memo files or within a single file. If moving between files, it can also change the link size from 2 to 4 or vice versa.
**Parameters**
_opstat _([Num](num.htm.md)) \[in/out\]
On input, must be set to 0 to copy (preserving the source memo) or 1 to move (same as copy followed by deletion of the source memo). On return, it will be set to one of the following values to indicate whether the operation succeeded:
| **Value** | **Description** | **** | **Value** | **Description** |
|------|------|------|------|------|
| 0 | Success | | 2 | File full |
| 1 | Link error | | 3 | System error |
_ch1 _([Num](num.htm.md)) \[in\]
is the open file channel for the source memo file.
_link1 _(B,2 or B,4 to match the format of the source memo file) \[in\]
is the link to the source memo. Note that if _opcode _is 1 (move), this memo will be deleted (and _link1 _returned as 0).
_ch2 _([Num](num.htm.md)) \[in\]
is the open file channel for the destination memo file (which may be the same as _ch1_).
_link2 _([Num](num.htm.md)) \[out\]
will return the new link to the destination memo. Use data type B,2 or B,4 to match the format of the destination memo file.