Date: Thu, 17 Sep 2009 07:24:37 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: Awesome! The NOTE2ERR option
Content-Type: text/plain; charset="ISO-8859-1"
I use NOTE2ERR, but I think it would be better if the user had some
control over which notes should turn into errors. For example, the
other day I had a program abend because I passed an invalid ZIP code to
the ZIPSTATE function. To me, that seems like a different, and more
forgiveable, type of error than assigning a character value to a numeric
On Thu, 17 Sep 2009 09:00:12 -0400, "Lou" <lpogoda@HOTMAIL.COM> said:
> "sasplumber" <email@example.com> wrote in message
> > The folks that run the NOTE blog just blew me away with their latest
> > posting. I have never heard of the NOTE2ERR option, but it makes SAS
> > behave in the way it should always have done. it tells SAS to report
> > uninitialized values and implicit conversions from char to num as
> > *errors*
> I don't know about the "should always" - SAS was originally intended to
> non-programmers access to computing power, and a lot was done (like
> automatic type conversions) to protect non-programmers from themselves.
> But that was then and this is now. This is a terrific option - pity it's
> undocumented. As a matter of policy, we do not use undocumented stuff in
> production code.
> > You've got to see this to believe it... http://notecolon.blogspot.com
> > Great blog in general. I'm subscribed to their daily email digest so I
> > don't have to keep visiting their site. It sends me an email on any
> > day when there's a new post.
> > -Plumber
firstname.lastname@example.org <== Use this, not jfh @ stanfordalumni.org
Tots units fem força!