Date: Tue, 16 Aug 2011 19:50:36 +0000
Reply-To: "Fehd, Ronald J. (CDC/OCOO/ITSO)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/OCOO/ITSO)" <rjf2@CDC.GOV>
Subject: Re: Old-Style Macros
In-Reply-To: <CAEZCysu9M=JPg=n695Tk1ExYXOkEZCN6n6Q9A8zNxy5wMaVW+w@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
this is the statement to turn on both:
options IMPLMAC cmdmac;
Ron Fehd option(al)s maven
> -----Original Message-----
> From: Data _null_; [mailto:iebupdte@gmail.com]
> Sent: Tuesday, August 16, 2011 3:10 PM
> To: Fehd, Ronald J. (CDC/OCOO/ITSO)
> Cc: 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.
> >
|