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 (February 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 17 Feb 1997 17:18:06 -0600
Reply-To:     Thomas Kalfas <kalfast@PPRD.ABBOTT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Thomas Kalfas <kalfast@PPRD.ABBOTT.COM>
Subject:      Re: help with macro variable
Comments: To: Tim Pi <fmrco!timpi@uunet.uu.net>
In-Reply-To:  Tim Pi <fmrco!timpi@uunet.uu.net> "help with macro variable" (Feb
              17,  5:40pm)
Content-Type: text/plain; charset=us-ascii

Tim,

The macro is resolving; however, it's right aligned. So, you'll have to use the %left() macro function to put it where you want it:

e.g. retain gr1-gr%left(&ngroup);

Tom

On Feb 17, 5:40pm, Tim Pi wrote: > Subject: help with macro variable > Hi SAS users, > > I could not find any problems. Please help. > > ***** > data _null_; > set tmp; > call symput('ngroup',group); > > data all; > retain gr1-gr&ngroup; > set original; > ..... > > ****** > > ERROR: Missing numeric suffix on a numbered variable list (GR1-GR). > > ******* > > Thanks! > > Tim Pi >-- End of excerpt from Tim Pi

-- Thomas Kalfas System Developer Abbott Laboratories

E-mail: kalfast@pprd.abbott.com

Phone: (847) 938-8101 Fax: (847) 935-1320


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