SQL procedure 109
assigning values to macro variables 297
controlling job execution 109
interfaces 109, 171
INTO clause 109
STARTSAS statement
ID generated from 228
process name generated from 228
statement style macros 145
statement-style macros
invoking 355
statements
examining generated SAS statements
137
macro definitions containing SAS
statements 10
macro statements 13
processing with macro activity 18
processing without macro activity 16
tracing for debugging 375
STORE option
%MACRO statement 330
stored compiled macro facility 115
efficiency and 147
overview 119
saving macros with 119
stored compiled macros 181
calling 120
displaying information about 134
libref for catalog containing 383
searching catalogs for 379
storing autocall macros
centrally 148
supplied by SAS 120
storing macro definitions 119
storing macros 115
saving macros in autocall libraries 116
saving macros with stored compiled
macro facility 119
storing MPRINT output
in external files 138
strings
length of 263
locating first character in 263
passing character strings to SAS
programs 219, 386
reducing length of 264
searching for words by position in 268
substring of a character string 275
within macros 9
stripped for printing 140
submit blocks
macro variable references in 111
substrings
of a character string 275
suffixes
generating for macro variable references
13
symbol tables 18, 24, 50
amount of memory available to 380
global 50, 239, 336
local 51
writing contents to log 53
SYMBOLGEN system option 384
examining macro variable resolution
139
symbolic reference
warning message 427
symbolic variable name
error message 391, 392, 394
SYMDEL routine
warning message 432
SYMEXIST function 251
SYMGET function 252
SYMGETN function 255
SYMGLOBL function 256
SYMLOCAL function 257
syntax 4
syntax errors 122
SYSADDRBITS automatic macro
variable 198
SYSBUFFR automatic macro variable
199
SYSCC automatic macro variable 199
error message 426
SYSCHARWIDTH automatic macro
variable 200
SYSCMD automatic macro variable 200
SYSDATASTEPPHASE automatic macro
variable 201
SYSDATE automatic macro variable 202
SYSDATE9 automatic macro variable
203
SYSDAY automatic macro variable 203
SYSDEVIC automatic macro variable
204
SYSDMG automatic macro variable 204
SYSDSN automatic macro variable 205
SYSENCODING automatic macro
variable 206
SYSENDIAN automatic macro variable
206
SYSENV automatic macro variable 207
SYSERR automatic macro variable 207
SYSERRORTEXT automatic macro
variable 210
SYSFILRC automatic macro variable 210
SYSHOSTINFOLONG automatic macro
variable 211
SYSHOSTNAME automatic macro
variable 211
498 Index

Get SAS 9.4 Macro Language, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.