Copies a value from the source field to the destination buffer and stores it as a multivalue.
MVA destination source
destination is a direct or indirect reference to a buffer or select register where you want the data copied to.
source is the data you want to copy. The source can be:
- a direct or indirect reference to a buffer or select register that contains the data you want to copy.
- a string of one or more characters.
The new value is stored in ascending ASCII sequence.
If the source data already exists in the destination buffer, it is not duplicated.
If the source itself is multivalued, it is copied, as is, to the destination. This might create duplicate values and destroy the ascending sequence (see Example 2).
If the destination is the input buffer, the buffer pointer is positioned at the beginning of the parameter specified by the destination.
Command | File Buffer 1 Before | File Buffer 1 After |
---|---|---|
MVA &1.1 &1.3 |
000 1494 001 DEF]GHI |
000 1494 002 JKL 003 FOR |
Command | File Buffer 3 Before and After |
File Buffer 1 Before | File Buffer 1 After |
---|---|---|---|
MVA &1.1 &3.2 |
000 AAA |
000 ABC 001 DEF]GHI |
000 ABC 002 JKL 003 MNO |