Date: Wed, 10 May 2006 23:48:29 -0400
Reply-To: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Subject: UPCASE and unmatched parenthesis conundrum
This code fails 'miserably'. The expected label statement is not generated.
Instead the session is left is some sort of 'open' state at the LABEL
statement . Any ideas why and how to correct?
%macro foo;
data _null_;
call symput ('foo', 'The unusual case of (the unmatched parenthesis');
run;
%put foo=&foo;
%put upcase foo = %UPCASE(&foo);
data ugg;
foo = 0;
LABEL foo = "%UPCASE(&foo)";
run;
%mend;
options mprint;
%foo;
--
Richard A. DeVenezia
http://www.devenezia.com/