As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Removing Macro Variables

From sasCommunity
Jump to: navigation, search

Removing Macro Variables from the SAS® Environment

Frank C. DiIorio

published in 1999: is v8


A common, and sometimes irksome, feature of running SAS programs interactively (in Display Manager or via SAS/Intrnets’s socket services) is carryover of values. ....

But what about macro variables?

There are numerous techniques for nulling the value of the variable

%let var = %str();
is a favorite]

but this does not actually remove the variable from the macro symbol table.

see also:

  • macro statement %symdel == Symbol Delete
  • options msymtabmax, mvarsize

harvested by:

--macro maven == the radical programmer 21:06, 10 February 2011 (UTC)