Deletes a value from a multivalued parameter in the target buffer.
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 will 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 001 AAA]DEF]GHI 002 YYY |
000 Key 001 ABC]GHI 002 YYY |
JCL