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 (August 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 16 Aug 2011 14:33:31 -0500
Reply-To:     "Data _null_;" <iebupdte@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Data _null_;" <iebupdte@GMAIL.COM>
Subject:      Re: Old-Style Macros
Comments: To: Jim Groeneveld <jim.1stat@yahoo.com>
In-Reply-To:  <201108161930.p7GIiugx023151@waikiki.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1

Thank you Jim. I had the syntax wrong. No simicolon after macro name.

On Tue, Aug 16, 2011 at 2:30 PM, Jim Groeneveld <jim.1stat@yahoo.com> wrote: > Hi DataNull, > > It runs fine here too under SAS 9.2 and 9.1.3. > You may even get rid of some redundant semicolons: > > Macro abc > proc print data=sashelp.class; > run; > % > abc > > Regards - Jim. > -- > Jim Groeneveld, Netherlands > Statistician/SAS consultant > http://jim.groeneveld.eu.tf > > > > > On Tue, 16 Aug 2011 13:36:55 -0500, Data _null_; <iebupdte@GMAIL.COM> wrote: > >>Don't seem to be working in SAS 9.2 for winders. >> >>57 Macro abc; >>58 proc print data=sashelp.class; >>59 run; >>60 % >>61 ; >>62 abc >>62 abc >> --- >> 180 >>ERROR 180-322: Statement is not valid or it is used out of proper order. >> >>What am I doing wrong. >


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