Date: Wed, 3 Jan 2007 14:21:51 -0600
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: Requesting help with SAS Macro - Symput, Do-loop
In-Reply-To: <200701031951.l03GfUq6016623@mailgw.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Try
Call symputx('dimcnt'||left(&i),left(trim(cnt)),G);
G: Specify that the variable creating will be placeed into global symbol
table.
Yu
On 1/3/07, SAS-L Nirmal <lazybone2k@gmail.com> wrote:
>
> Thanks Yu,
>
> I am pretty new to SAS and Macros, can you tell me how to define the macro
> variable as global variable and also can you tell me which variable i shud
> define as global variable.
>
> Thanks
>
> regards,
> Nirmalkumar Sugumar
> lazybone2k@gmail.com
>
|