Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).


Deletes an element from a buffer.


MVD target source


target A reference to a buffer or select list from which with the contents of source should be deleted. A reference must begin with a %, !, &, or # character, followed by a number (%2), or followed by another of the four reference characters (%%).
source The text to be deleted from the target buffer or select list. Can be a literal or a reference to a buffer or select list.


MVD deletes the source element from a dynamic array in target. It searches the dynamic array until it finds an exact match. It deletes the first matching element encountered and the associated value mark (@VM) delimiter. If the source value matches no existing element, no operation occurs.

See Also

  • MV PROC command

  • MVA PROC command