Removes records, groups, or items from an existing access descriptor.
Type: | Optional statement |
Applies to: | access descriptor |
Interaction: | UPDATE statement |
is a list of index numbers, separated by logical operators, that represent the item's place in the access descriptor. You can obtain the index number of an item using the LIST statement described later in this section.
is the name of the IMS group, record, or item to be deleted. This field can also contain a quoted string.
DELETE 15 2 8 TO 12; /* deletes a numeric list */ DELETE 1 TO 23 BY 2; /* deletes a numeric list */ DELETE CITY STATE ZIP; /* deletes by name */ DELETE CITY 'FIRST-ORDER-DATE'; /* deletes a name and quoted string */