The value of SYSWARNINGTEXT is the
text of the last warning message generated in the SAS log. For a list
of SYSERR warnings and errors, see
SYSERR Automatic Macro Variable.
Note: If the last warning message
text that was generated contains an
&
or
%
and you are using the %PUT statement,
you must use the %SUPERQ macro quoting function to mask the special
characters to prevent further resolution of the value. The following
example uses the %PUT statement and the %SUPERQ macro quoting function:
%put %superq(syswarningtext);
For more information,
see
%SUPERQ Function.