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:48:43 -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: Mike Rhoads <RHOADSM1@westat.com>
In-Reply-To:  <D47ACC3DC1D6CA4D85DE61DC39DA319F062EFD9A@EX10MAIL2.westat.com>
Content-Type: text/plain; charset=ISO-8859-1

I think it was working for me too all the time but the extra simicolon was causing the Statement is used out of order message.

Does anyone have TS-289?

On Tue, Aug 16, 2011 at 2:36 PM, Mike Rhoads <RHOADSM1@westat.com> wrote: > ... and it works fine for me in 9.2. > > Mike Rhoads > RhoadsM1@Westat.com > > > > -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Nat Wooding > Sent: Tuesday, August 16, 2011 3:20 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: Old-Style Macros > > Null > > I double checked your code and it works fine in 9.1.3. > > As I recall, someone posted a while back that old style macros are still required for the mainframe system analysis product (MICS ??). So, unless it has been updated, they still should work. > > For those who are wondering just what we are talking about, this was SAS' > first macro implementation and dates to the 1970s. It was later replaced by the language that is in current use but the old style code has still continued to work -- at least until 9.3. > > Sometime in the past couple years, there was a humorous thread on how one could perform mischief with the old macros. > > Nat Wooding > > -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Data _null_; > Sent: Tuesday, August 16, 2011 3:10 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: Old-Style Macros > > I am referring to old-style macros. > > 72 options IMPLMAC=1 cmdmac=1; > 73 Macro abc; > 74 proc print data=sashelp.class; > 75 run; > 76 % > 77 ; > 78 abc > 79 > 78 abc > --- > 180 > ERROR 180-322: Statement is not valid or it is used out of proper order. > > 80 options IMPLMAC=0 cmdmac=0; > > > On Tue, Aug 16, 2011 at 1:56 PM, Fehd, Ronald J. (CDC/OCOO/ITSO) <rjf2@cdc.gov> wrote: >> DN: Here are the options that control old-style macro usage: >> >> proc options group = macro; >> proc options define value option = cmdmac; proc options define value >> option = implmac; run; >> >> Ron Fehd not-*-that-*-old-style macro maven >> >>> -----Original Message----- >>> From: owner-sas-l@listserv.uga.edu [mailto:owner-sas- >>> l@listserv.uga.edu] On Behalf Of Data _null_; >>> Sent: Tuesday, August 16, 2011 2:37 PM >>> To: SAS-L >>> Subject: Old-Style Macros >>> >>> 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