The DATA step, the SAS Component Language, and the SQL
procedure provide interfaces with the macro facility. The following
tables list the elements that interact with the SAS macro facility.
The DATA step provides
elements that enable a program to interact with the macro facility
during DATA step execution.
Interfaces to the DATA Steps
|
|
|
Resolves an argument
and executes the resolved value at the next step boundary.
|
|
Resolves the value of
a text expression during DATA step execution.
|
|
Deletes the indicated
macro variable named in the argument.
|
|
Returns an indication
as to whether the named macro variable exists.
|
|
Returns the value of
a macro variable to the DATA step during DATA step execution.
|
|
Returns an indication
as to whether the named macro variable is global in scope.
|
|
Returns an indication
as to whether the named macro variable is local in scope.
|
|
Assigns a value produced
in a DATA step to a macro variable.
|
The SAS Component Language (SCL) provides two elements
for using the SAS macro facility to define macros and macro variables
for SCL programs.
Interfaces to the SAS Component Language
|
|
|
Returns the value of
a global macro variable as a numeric value.
|
|
Assigns a numeric value
to a global macro variable.
|
The SQL procedure provides a feature for creating and
updating macro variables with values produced by the SQL procedure.
Interfaces to the SQL Procedure
|
|
|
Assigns the result of
a calculation or the value of a data column.
|