Date: Tue, 8 Jan 2002 17:05:04 -0500
Reply-To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject: Re: how to delete a macro variable from the memory....?
Content-Type: text/plain; charset="iso-8859-1"
> From: ywr1 [mailto:yeon_rhee@HOTMAIL.COM]
> how to delete a macro variable from the memory table...?
> don't please tell me that %let (macro_variable)='' is a way to do it.
> -----IT WON'T WORK THAT WAY !!!!!!!------------
>
> it simply just assigns nothing to the macro variable. it doesn't get
> rid of the macro variable from the memory.
>
> is there anyway....?
> i heard that version 8.2 has %sysdel, which will do the work i want,
> however, i am using 8.0....so it's not available to me at this time..
... yet!
if this is in open code
%SYMDEL MVAR;
-- check the spelling, SYMbolDelete not SYStemDelete --
will remove %global MVAR;
inside a macro?
then you ought to be using
%local MVAR;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: Win_Pro Ver: 8.2
---> cheerful provider of UNTESTED SAS code from the KludgeWrx !*! <---
If you always try to be logical,
you probably won't ever have much sorrow,
or much fun.
-- Ashleigh Brilliant pot-shot #4438
|