DATA Step Call Routines for Macros |
Deletes the specified variable from the macro global symbol table.
Type: |
DATA step call routine
|
CALL
SYMDEL(macro-variable<, option>);
|
- macro-variable
-
can be any of the following:
-
the name of a macro variable within quotation marks but without
an ampersand. When a macro variable value contains another macro variable
reference, SYMDEL does not attempt to resolve the reference.
-
the name of a DATA step character variable, specified with no
quotation marks, which contains the name of a macro variable. If the value
is not a valid SAS name, or if the macro processor cannot find a macro variable
of that name, SAS writes a warning to the log.
-
a character expression that constructs a macro variable
name.
- option(s)
-
- NOWARN
-
suppresses the warning message when an attempt is made to
delete a non-existent macro variable. NOWARN must be within quotation marks.
CALL SYMDEL issues a warning when an attempt is made to
delete a non-existent macro variable. To suppress this message, use the NOWARN
option.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.