MVA
Copies a value from the source field to the destination buffer and stores it as a multivalue.
Syntax
MVA destination source
Syntax Elements
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.
Operation
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.
Example 1
Command |
File Buffer 1 Before |
File Buffer 1 After |
---|---|---|
|
|
|
Example 2
Command |
File Buffer 3 Before |
File Buffer 1 Before |
File Buffer 1 After |
---|---|---|---|
|
|
|
|