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

compilation notes in 360
displaying automatic macro variables
334
displaying local variables 335
displaying macro execution information
367
displaying nesting information 373, 377
displaying source location of autocall
macros 357
displaying user-generated variables 334
text of last error message generated in
211
text of last warning message 234
tracing resolution of macro variable
references 385
writing contents of symbol tables to 53
writing text or macro variable
information to 332
LOGAPPLNAME= system option 216
logical expressions 73
comparing character operands 79
comparing floating-point values 78
comparing missing values 78
comparing numeric operands 78
defining 74
evaluating 74, 78
evaluating with floating-point arithmetic
281
evaluating with integer arithmetic 261
operands and operators 75
login
of current SAS process 232
long macro variables
storing values in segments 276
lowercase characters
converting to uppercase 293
converting uppercase characters to 184,
186
M
macro calls 9
% (percent) delimiter and 4
creating a series of indirect macro
variable references 36
macro character functions 161
macro debugging
See debugging
macro definition
warning message 435
macro definitions 9, 39
allowing new definitions 359
beginning 325
compiling 40, 119
containing several SAS statements 10
creating global variables in 315
ending 331
macro statements used in 158
nested 145
redefining 379
storing 119
troubleshooting 133
macro evaluation functions 162
macro execution
tracing 373
tracing generated statements for
debugging 375
macro expressions 73
See also arithmetic expressions
See also logical expressions
text expressions 73
macro facility 3
functions in 108
interacting with, during DATA step
execution 104
interfaces 14, 103, 170
reserved words 391
SCL interfaces to 110
searching for stored compiled macros
380
system options in 173
word rules 391
macro function
error message 404
warning message 431
macro functions 160
%SYSFUNC and %QSYSFUNC
function 14
assigning results to macro variables 146
character functions 161
evaluation functions 162
lists of 166
manipulating macro variable values
with 37
quoting functions 163
troubleshooting 128
macro keyword
error message 410, 411
macro keywords 95
macro language 4
additional features of 13
as string based language 3
autocall macros 171
automatic variables 167
availability of 356
elements 157
elements with system dependencies 154
functions 160
macro facility interfaces 170
reserved words in 28
statements 158
system options in macro facility 173
Index 493

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