O'Reilly logo

SAS 9.4 Macro Language, 5th Edition by

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Variable Read and Write Status
SYSTIMEZONEOFFSET Read-only
SYSUSERID Read-only
SYSVER Read-only
SYSVLONG Read-only
SYSVLONG4 Read-only
SYSWARNINGTEXT Read-only
Interfaces with the Macro Facility
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.
Table 12.10 Interfaces to the DATA Steps
Element Description
EXECUTE routine Resolves an argument and executes the resolved value at the next
step boundary.
RESOLVE function Resolves the value of a text expression during DATA step
execution.
SYMDEL routine Deletes the indicated macro variable named in the argument.
SYMEXIST function Returns an indication as to whether the named macro variable
exists.
SYMGET function Returns the value of a macro variable to the DATA step during
DATA step execution.
SYMGLOBL function Returns an indication as to whether the named macro variable is
global in scope.
SYMLOCAL function Returns an indication as to whether the named macro variable is
local in scope.
SYMPUT and SYMPUTX
routines
Assigns a value produced in a DATA step to a macro variable.
170 Chapter 12 Macro Language Elements

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required