You can reference macro
variables anywhere in your program. Some applications might require
placing a macro variable reference adjacent to leading text (text&variable) or trailing text (&variabletext)
or referencing adjacent macro variables (&variable&variable)
in order to build a new token. When you combine macro variable references
and text, it is important to keep in mind how SAS interprets tokens.
Remember that a token
ends when the word scanner detects either the beginning of a new token
or a blank after a token.
You can place text immediately before a macro variable reference to build a new token. For example, suppose that data sets are stored in a SAS library, using the naming ...