# jCL MVD
Updated: 2/24/2021, 3:51:59 PM
Created: 2/24/2021, 3:51:59 PM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)
Tags: buffer multivalue delete
This command deletes a value from a multivalued parameter in the target buffer. It takes the general form:
MVD target source
- target is a direct or indirect reference to a buffer or select register which contains the data to be deleted.
- source is the data you want to delete. Can be a literal string, or a direct or indirect reference to a buffer or select register.
Values in the target must be in ascending ASCII sequence, otherwise the result of the command will be unpredictable. If the source does not exist or if the multivalue cannot be matched, the command wills no effect, except perhaps to move the buffer pointer.
If the source element exists more than once in the target parameter, only the first occurrence will be deleted.
If the target is the primary input buffer, the buffer pointer will be left at the beginning of the specified target parameter.
| Command | File Buffer 1 Before | File Buffer 1 After | | ------- | -------------------- | -------------------- | | MVD &1.1 DEF | 000 Key | 000 Key | | | 001 AAA]DEF]GHI | 001 ABC]GHI | | | 002 YYY | 002 YYY |
Back to jCL.