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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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