
called &, then its value is substituted for &. If this type of macro variable is not
present, then SAS issues a warning. You can avoid these problems by using the & as an
escape character, as in %STR(&), as the following example shows:
<title>A %str(&)amp; B</title>
The following output is written to the output stream:
<title>A & B</title>
Likewise, for %, any occurrence that is not to be misinterpreted by a macro should
appear as %STR(%), as the following example shows:
<a href="www.sas.com/x%str(%20y)">the link</a>
The following output is written to the output stream:
<a href="www.sas.com/x%20y">the link</a>
If the escape sequence for %STR ...