Usage Note 22353: I am referencing a MACRO variable in the DATA Step. Per MPRINT, it appears to resolve, but I'm getting errors in the DATA Step flagging blank spaces.
Most likely, your macro variable was created using
one of the MACRO QUOTING FUNCTIONS (%STR, %NRSTR). In order to activate the
quoting feature, these functions actually append nonprintable hex characters
to the beginning and end of the variable value. In most cases, this quoting
is automatically removed for you. However, occasionally it isn't stripped
out before reaching the SAS compiler. In this case, you could try enclosing
your MACRO variable reference in the %UNQUOTE FUNCTION to explicitly remove
the effects of the quoting function.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> Macro
|
Date Modified: | 2007-11-19 14:55:27 |
Date Created: | 2002-12-16 10:56:44 |