Date: Thu, 22 Sep 2005 03:49:17 -0400
Reply-To: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Subject: Re: problem resolving macro variables
I'm not at all sure, but you could try doubling the percent sign as in:
Regards - Jim.
Y. (Jim) Groeneveld, MSc., Biostatistician, Vitatron b.v., NL
Jim.Groeneveld_AT_Vitatron.com (replace _AT_ by AT sign)
My computer always teaches me something new I thought I knew already.
On Wed, 21 Sep 2005 11:20:15 -0700, Sravanti Kuppili <ksravanti@GMAIL.COM>
> I am trying to label the plot lines in SAS GRAPH.
>Here is the piece of code i wrote to do that.
>In this, the macro variable "&&tpct&i" is getting resolved and displayed
>where as the other two macro variables are displayed correctly.
>%do i=1 %to &numgrp;
>set &lab.pct_&i end=last;
>length text $30;
>if last then do;
>Here is the sample output i got : *322/33%/96/96.
>Can anyone please tell me why is the last macro variable is getting
>I greatly appreciate your help.