Storage Features

Removing Matrices, Tables, Lists, and Modules

You cannot individually remove modules, matrices, tables, or lists from the storage file by using the REMOVE statement. The only available syntax for the REMOVE statement is the special operand _ALL_. You use the REMOVE statement with _ALL_ as follows to empty the storage file—that is, to remove all matrices, tables, lists, and modules from the file:

   remove _all_;

If you keep the file open after you empty it, you can still add new entries by using STORE statements. If you close the empty file by using a subsequent RESET STORAGE= statement, it is physically deleted from the SAS data library.

Last updated: July 20, 2026