Date: Wed, 10 Jul 2002 13:45:57 -0400
Reply-To: William Lu <luwp@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: William Lu <luwp@HOTMAIL.COM>
Organization: Bell Sympatico
Subject: Re: Automatic Axis Statement
Axis statement cannot work with functions. You may define a macro.
axis1 order = ('06oct01'd to &todate by 7);
"E. S." <sasq98@YAHOO.COM> wrote in message
> Hi all,
> I have a problem that seemed trivial when I looked at it first but that
> now is giving me all kinds of headaches.
> I have an axis statement that looks like this:
> axis1 order = ('06oct01'd to '29jun02'd by 7);
> It works fine but now I want to be able to change the endpoints by
> using a formula. Something like:
> axis1 order = ('06oct01'd to (today()-weekday(today())) by 7);
> I get an error when I try that, can anybody tell me how could I code it
> soo that I don't have to be manually updating this axis statement every
> Thanks a lot,
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free