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

command-style macros
invoking 354
comments 10, 304
compilation
note on size and number of instructions
360
compilation functions 83
compilation quoting functions 164
compiled items 40
compiled macros
executing 42
compiled stored macro
error message 421, 422
compiler 17
compiling macro definitions 40, 119
compressing blanks 179, 185
condition codes 200
conditional execution 238
conditional processing 317
conditionally generating SAS code 12
constant text 9
CPU
number available to SAS 218
customized windows 345
application welcome window 350
D
damaged data sets 206
data files
name of file most recently created 214
data sets
confirming existence of 286
creating macro variables and assigning
values from 244
damaged 206
determining number of variables and
observations in 285, 286
libref and name of most recently created
206
retrieving variable values previously
assigned from 253
DATA step
assigning values to macro variables 240
functions in 108
interacting with macro facility during
execution 104
passing values into a parameter list 239
resolving text expressions during
execution 249
returning value of macro variable,
during execution 252
DATA step compiler 17
macro resolution problems during
compilation 131
DATA step interfaces 104, 170
CALL EXECUTE routine timing details
105
example of common problem with
CALL EXECUTE routine 106
listed by category and use 104
using CALL EXECUTE routine
incorrectly 105
data type 181
dates
execution date for SAS job or session
203, 204
execution day for SAS job or session
205
formatting current date in a TITLE
statement 285
day of the week
for execution of SAS jobs or sessions
205
debugging 122
autocall facility 132
autocall library specifications 133
autocall macro definition errors 133
black hole problem 128
common macro problems 123
developing bug-free macros 123
developing macros in layered approach
122
displaying information about stored
compiled macros 134
encountering errors 122
examining generated SAS statements
137
examining macro variable resolution
139
expression evaluation 135
file and macro names for autocall 134
macro functions 128
macro variable resolution 125
macro variable scope 126
nesting information generated by
MLOGICNEST 137
nesting information generated by
MPRINTNEST 138
open code recursion 127
storing MPRINT output in external file
138
techniques for 136
timing issues 130
tracing flow of execution 136
tracing generated statements for 375
tracing macro execution for 372
tracing resolution of macro variable
references 385
tracking %PUT statement problems
140
tracking system option problems 136
490 Index

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