Syntax Supported by the IML Procedure and the iml Action

STORE Statement

  • STORE <MODULE=(module-list)> <matrix-list> ;

This statement is supported by the IML procedure and the iml action.

The STORE statement stores matrices and modules in a storage library. The iml action stores all objects in CAS tables, whereas PROC IML stores them in catalogs.

The arguments to the STORE statement are as follows:

module-list

is a list of module names. You can use the _ALL_ keyword to store all modules.

matrix-list

is a list of matrix names. You can use the _ALL_ keyword to store all matrices.

See the STORAGE function for an example of the STORE statement.

The following statement stores the modules A, B, and C and the matrix X:

store module=(A B C) X;

To store all matrices or all modules, use the _ALL_ keyword, as follows:

store _all_ module=_all_;

Similarly, the following statement stores all matrices:

store;

The storage library can be specified by using the RESET STORAGE statement and defaults to WORK.IMLSTOR. The SHOW STORAGE statement lists the current contents of the storage library, and the STORAGE function returns the names of all stored items.

Last updated: March 08, 2024