DROP – Drop elements from memory

Use the DROP command to drop saved structures from memory.

DROP <type>(<item>) [,<type>(<item>)...]

where:
<type>
The type of element being dropped from memory, this can be SAVELIST or OBJECT.
<item>
The name of the element being dropped.

The DROP command drops saved structures from memory. For large elements this might be required to reduce storage consumption, especially if multiple SAVELIST elements are merged using the MERGE command, or many large OBJECT elements are extracted from the database.

You can drop more than one element at once by repeating the keyword. For example, DROP OBJECT(AD1) OBJECT(AD2).

Where a LIST request has generated multiple objects, dropping the LIST object also drops all of the generated objects.

Note: Before Workload Automation Programming Language version 3.4, only one kind of object could be dropped therefore the object type was not required. For backwards compatibility, if a SAVELIST name is provided without a keyword, it is assumed to be a SAVELIST and dropped.

For example, DROP MYLIST is considered equivalent to DROP SAVELIST(MYLIST). DROP SAVELIST is considered equivalent to DROP SAVELIST(SAVELIST).