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
In-Reply-To: <200508142032.j7EKWYUL000423@listserv.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
Hi everyone,
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.
Take care,
Alex
> Alex,
>
> 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'
> statement.
>
> Art
> ----------
> On Sun, 14 Aug 2005 11:27:50 -0400, Alex Gould <alex.gould@STANFORD.EDU>
> wrote:
>
> >Hi,
> >
> >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
> the
> >informat right, for some reason SAS does not like the way I have set it
> up.
> > I have reproduced it here if anyone has any thoughts. Thanks!
> >
> >Alex
|