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

troubleshooting macros 123
unresolved macros 128
warning messages and 122
defining macros 9, 39
delete macro variable
warning message 434
delimiters 4
delimiting macro variable names within
text 34
for IN operator 369
period as 13
delta character 99
DES= option
error message 414
device type
%INCLUDE file 212
directories
as autocall libraries 117
directory
%INCLUDE file 213
double quotation marks 8
dummy macro
error message 410
dummy macros 41, 128
E
eaual sign
error message 402
efficient macros
See macros, efficient
encoding
for SAS sessions 207
ENCODING= system option
warning message 436
error conditions
%SYSRC mnemonics for 187
error messages 124, 393
text of last message generated in log
211
error return codes 209
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 403
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, 377
storing MPRINT output in 138
F
fields overlapped
warning message 431
filename
%INCLUDE file 213
FILENAME statement
return code from 212
fileref
%INCLUDE file 213
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 439
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 205
group name
error message 411
Index 491

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