Returns an indication as to whether a macro variable is in a local scope to the DATA step during DATA step execution
Category: Macro
See: SYMLOCAL Function in SAS Macro Language: Reference
SYMLOCAL ( argument )
argument
can be one of the following items:
the name of a macro variable within double quotation marks but without an ampersand.
the name of a DATA step character variable, specified with no quotation marks, which contains a macro variable name.
a character expression that constructs a macro variable name.
The SYMLOCAL function searches the enclosing local symbol tables for the indicated macro variable and returns 1 if the macro variable is found or if the macro variable is not found.
SYMLOCAL is fully documented in SAS Macro Language: Reference .