Date: Sun, 14 Aug 2005 15:17:06 -0700
Reply-To: ALEX GOULD <alex.gould@STANFORD.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ALEX GOULD <alex.gould@STANFORD.EDU>
Subject: Re: using format statement in proc summary
Content-Type: text/plain; charset=ISO-8859-1
Thanks for the thoughts from Art et al.
I actually ended up solving the problem by addressing the formatting in the
prior DATA step rather than the PROC SUMMARY step, and it worked just fine.
I think that the problem was that SAS wasn't reading the lines from the text
program completely... when I read the log, it's like it was reading the word
"format" as a variable.
> What message is SAS returning that makes you say it doesn't like the way
> you set it up? Your code seems correct. If you are running the sections
> separately, the proc summary won't run until it encounters a 'run'
> On Sun, 14 Aug 2005 11:27:50 -0400, Alex Gould <alex.gould@STANFORD.EDU>
> >I'm trying to use a format line (in my proc summary statement) that will
> >convert my SAS date values to a calendar date. Although I think I have
> >informat right, for some reason SAS does not like the way I have set it
> > I have reproduced it here if anyone has any thoughts. Thanks!