space
Previous Page | Next Page

ACCESS Procedure Reference

DROP Statement



Drops the specified item so that it is no longer available for selection.
Optional statement
Applies to: access descriptor or view descriptor

Syntax
Details
Arguments

Syntax

DROP numeric-list;
DROP item-name <... item-name-n>;


Details

The DROP statement drops the specified item so that the item is no longer available for selection. When used in an access descriptor, it prevents the specified item from being available to a view descriptor. The DROP statement is used with the UPDATE statement in a view descriptor.

You can specify as many items to be dropped as necessary by using one DROP statement. You can identify items by their index number or by their name or a quoted string, but you cannot mix index numbers and names. If you drop a record or group, all the items in that record or group are dropped.


Arguments

The following arguments can appear in the DROP statement:

numeric-list

is a list of index numbers, separated by logical operators, that represent the item's place in the descriptor. You can get the index number of an item by using the LIST statement described later in this section.

item-name

is the name of the IMS item to be dropped or a quoted string.

space
Previous Page | Next Page | Top of Page