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 (January 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: SAS-L Nirmal <lazybone2k@gmail.com>
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 >


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