LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu

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/


Back to: Top of message | Previous page | Main SAS-L page