BookmarkSubscribeRSS Feed
abdullala
Calcite | Level 5
Is there a way to disable or delete a previously defined macro variable? not to set it to null, but 'destroy' this macro variable? thanks a bunch!
5 REPLIES 5
Flip
Fluorite | Level 6
Try %SYMDEL macro-variable(s);
DPraba79
Calcite | Level 5
Please note that, The %SYMDEL function works ONLY on GLOBAL macro variables.
abdullala
Calcite | Level 5
thank you all!
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
For future consideration, here is a relevant example for a Google advanced search argument using your topic-related keywords:

delete macro variable site:sas.com

Scott Barry
SBBWorks, Inc.
abdullala
Calcite | Level 5
good to know! thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1680 views
  • 0 likes
  • 4 in conversation