troubleshooting macros 123
unresolved macros 128
warning messages and 122
defining macros 9, 39
delete macro variable
warning message 432
delimiters 4
delimiting macro variable names within
text 34
for IN operator 368
period as 13
delta character 99
DES= option
error message 412
device type
%INCLUDE file 211
directories
as autocall libraries 117
directory
%INCLUDE file 212
double quotation marks 8
dummy macro
error message 408
dummy macros 41, 128
E
eaual sign
error message 400
efficient macros
See macros, efficient
encoding
for SAS sessions 206
ENCODING= system option
warning message 434
error conditions
%SYSRC mnemonics for 187
error messages 124, 391
text of last message generated in log
210
error return codes 208
error types 122
errors
debugging and 122
evaluation functions 162
executing compiled macros 42
execution errors 122
execution functions 84
execution, tracing flow of 136
existence of data sets 286
existence of macro variables 251, 278
exits
providing in a large macro 316
expression
error message 401
expressions
See also macro expressions
generating indirect macro variable
references with 36
troubleshooting evaluation problems
135
external files
naming for autocall facility 156
routing MPRINT output to 368, 376
storing MPRINT output in 138
F
fields overlapped
warning message 429
filename
%INCLUDE file 212
FILENAME statement
return code from 211
fileref
%INCLUDE file 212
filerefs
limiting to eight characters 276
verifying 194
floating-point evaluation 281
floating-point operands
evaluating 77
floating-point values
comparing in logical expressions 78
flow of execution, tracing 136
forcing local macro variables 61
functions
See also macro functions
See also macro quoting functions
assigning results to macro variables 146
executing 283
for use with %SYSFUNC function 437
in DATA step and macro facility 108
portable 150
user-written 283
G
global macro variables 8, 24, 49, 50
creating 63, 314
creating in macro definitions 315
creating, based on value of local
variables 65
indicating whether macro variables are
global 256
returning values as numeric 255
with same name as a local variable 324
global symbol table 50
deleting variables from 239, 336
graphics device 204
group name
error message 409
Index 489

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.