%SYSMSTORECLEAR Statement

Closes the stored compiled macro catalog associated with the libref specified in the SASMSTORE= option and clears the libref.
Type: Macro statement
Restriction: Allowed in macro definition and open code
See: SASMSTORE= system option

Syntax

%SYSMSTORECLEAR;

Details

Use the %SYSMSTORECLEAR statement to close the stored compiled macro catalog and to clear the previous libref when switching between SASMSTORE= libraries.
Note: If any stored compiled macro from the library specified by the SASMSTORE= system option is still executing, the following will occur:
  • an ERROR diagnostic message will be issued
  • the library will not be closed
  • the libref will not be cleared