troubleshooting macros 121
unresolved macros 126
warning messages and 120
defining macros 5, 37
delete macro variable
warning message 422
delimiters 4
delimiting macro variable names within
text 32
for IN operator 358
period as 9
delta character 97
DES= option
error message 402
directories
as autocall libraries 115
double quotation marks 5
dummy macro
error message 398
dummy macros 39, 126
E
eaual sign
error message 390
efficient macros
See macros, efficient
encoding
for SAS sessions 205
ENCODING= system option
warning message 424
error conditions
%SYSRC mnemonics for 185
error messages 122, 381
text of last message generated in log
208
error return codes 207
error types 120
errors
debugging and 120
evaluation functions 160
executing compiled macros 40
execution errors 120
execution functions 82
execution, tracing flow of 134
existence of data sets 280
existence of macro variables 245, 272
exits
providing in a large macro 310
expression
error message 391
expressions
See also macro expressions
generating indirect macro variable
references with 33
troubleshooting evaluation problems
133
external files
naming for autocall facility 154
routing MPRINT output to 358, 366
storing MPRINT output in 136
F
fields overlapped
warning message 419
FILENAME statement
return code from 209
filerefs
limiting to eight characters 270
verifying 192
floating-point evaluation 275
floating-point operands
evaluating 75
floating-point values
comparing in logical expressions 76
flow of execution, tracing 134
forcing local macro variables 59
functions
See also macro functions
See also macro quoting functions
assigning results to macro variables 144
executing 277
for use with %SYSFUNC function 427
in DATA step and macro facility 106
portable 148
user-written 277
G
global macro variables 5, 22, 47, 48
creating 61, 308
creating in macro definitions 309
creating, based on value of local
variables 63
indicating whether macro variables are
global 250
returning values as numeric 249
with same name as a local variable 318
global symbol table 48
deleting variables from 235, 330
graphics device 203
group name
error message 399
H
hexadecimal character constants 3
hexadecimal values 3
host name 210
Index 445

Get SAS 9.4 Macro Language: Reference, Fourth Edition, 4th 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.