Language Reference
STORAGE Function
STORAGE () ;
This function is supported only by the IML procedure.
The STORAGE function returns a matrix of the names of all the matrices and modules in the current storage library. The result is a character vector in which each matrix or module name occupies a row. Matrices are listed before modules. The SHOW STORAGE command separately lists all the modules and matrices in storage.
For example, the following statements print a list of the matrices and modules in the current storage library. Use the RESET STORAGE statement to change the current storage directory.
x = 1:5;
y = {A B C};
start MyMod(x);
return(2*x);
finish;
store x y module=MyMod;
a = storage();
print a;
Figure 443: Contents of Storage Library
| a |
|---|
| X |
| Y |
| MYMOD |
Last updated: April 16, 2021