|
To be complete:
the macro variable &_title is defined in my AUTOEXEC.SAS with value 03.
Lex
"Jim Groeneveld" <J.Groeneveld@ITGROUPS.COM> wrote in message
news:9182F83D302DD311BF3F0008C71E73CA8C9167@ITG-EXCH01...
> Hi Lex,
>
> Did your macro change during the migration? The error report in the log
> shows a space between "%title" and "&_title(&txt);". The error concerns a
> macro with the name TITLE, not TITLE03.
>
> Regards - Jim.
> --
> Y. (Jim) Groeneveld, MSc IMRO TRAMARKO tel. +31 412 407 070
> senior statist./data man. P.O. Box 1 fax. +31 412 407 080
> J.Groeneveld@ITGroups.com 5350 AA BERGHEM, NL www.imrotramarko.com
>
> My computer sometimes doesn't understand me; so do I, myself that is.
>
> Notice of confidentiality: this e-mail may contain confidential
information
> intended for the addressed recipient only.
> If you have received this e-mail in error please delete this e-mail and
> please notify the sender so that proper delivery
> can be arranged.
>
>
> > -----Original Message-----
> > From: Lex jansen [SMTP:lex@LEX-JANSEN.DEMON.NL]
> > Sent: Monday, April 29, 2002 1:11 PM
> > To: SAS-L@LISTSERV.UGA.EDU
> > Subject: v612 to v82: macro syntax
> >
> > We are in the process of migrating from V612 to V82.
> > So a lot of production code has to be checked.
> >
> > The following worked in V612 on WinNT:
> >
> > %MACRO TITLE03(text);
> > %put &text;
> > %MEND;
> >
> > %MACRO DEMO(txt);
> >
> > %IF 1=1 %THEN %PUT Test;
> > %title&_title(&txt);
> >
> > %MEND DEMO;
> >
> > %DEMO(hello);
> >
> > But with 8.2 it fails with:
> >
> > 12 %title &_title(&txt);
> > _
> > 180
> > WARNING: Apparent invocation of macro TITLE not resolved.
> > ERROR 180-322: Statement is not valid or it is used out of proper order.
> >
> > If I add another semi-colon after the line with %IF (like: %IF 1=1
%THEN
> > %PUT Test;;)
> > then it works again in V82.
> >
> > Looks like V82 is much stricter on syntax checking!
> > Does anyone know more examples of this ?
> >
> > Lex Jansen
|