Storing and Loading Modules

You can store and reload modules by using the STORE statement. The STORE statement saves the module in a storage library. The stored module persists even when you exit PROC IML or exit the SAS System. After a module is stored, you can use the module in other SAS/IML programs by using the LOAD statement prior to calling the module. The syntax of the STORE and LOAD statements are as follows:

STORE MODULE= name ;

LOAD MODULE= name ;

You can view the names of the modules in storage with the SHOW statement, as follows:

show storage;

See Chapter 18: Storage Features, for details about using the library storage facilities.