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

resolving during DATA step execution
249
text items 40
text strings
replacing using macro variables 8
text substitution 4
timing issues 130
macro resolution problems during
DATA step compilation 131
macro statement executing immediately
130
TITLE statement
formatting current date in 285
titles
removing markup tags from 312
tokenization 16
tokens 16, 437
list of 437
tracing
flow of execution 136
generation of statements 375
macro execution 373
resolution of macro variable references
385
tracking problems
with %PUT statement 140
with system options 136
trailing blanks
removing 179, 183, 185
removing from macro variables 245
trimming 187, 192
translating characters 286
trimming trailing blanks 187, 192
troubleshooting 123
autocall facility 132
autocall library specifications 133
autocall macro definition errors 133
black hole problem 128
common macro problems 123
displaying information about stored
compiled macros 134
expression evaluation 135
file and macro names for autocall 134
macro functions 128
macro variable resolution 125
macro variable scope 126
open code recursion 127
timing issues 130
unresolved macros 128
U
unmasking 292
unmatched quotation marks and
parentheses 88
macro quoting functions and 164
unquoting text 97
unresolved macros
troubleshooting 128
unresolved values
passing 278
uppercase characters
converting to 293
converting to lowercase 184, 186
user identification
passing to SAS programs 387
user IDs
of current SAS process 232
user-defined macro variables 24, 28
assigning values 29
assignment types for values 30
creating 29
overview 28
user-generated macro variables
displaying in log 334
user-written functions
executing 283
userids
name of 214
V
variable name
error message 393
variables
determining number in a data set 285,
286
value of specified operating system
variable 287
verifying text or text expressions 194
version number 233
W
warning conditions
%SYSRC mnemonics for 188
warning messages 124, 429
debugging and 122
preventing 94
text of last message formatted for log
display 234
when macro references cannot resolve
365, 366
when variable reference does not match
variable 384
warning return codes 209
weekdays
for execution of SAS jobs or sessions
205
width
character width value 200
window macro file
502 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