Date: Tue, 10 Oct 2000 17:16:56 GMT
Reply-To: Swimmast <swimmast@CS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Swimmast <swimmast@CS.COM>
Organization: CompuServe (http://www.compuserve.com/)
Subject: Re: MACRO VAR
A couple of things.
1) Remove these quotes. You are literally asking if the substring returns the
>%if %substr(&dat,3,1) ne "0"
2) The macro variable title is local to the macro title3. By the time you get
around to resolving it, it doesn't exist anymore. Try adding a %global title;
statement inside the macro before you make any other references to the macro
Hope that helps.