|Date: ||Sun, 6 Jul 2003 16:48:42 +0000|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Paul Dorfman <paul_dorfman@HOTMAIL.COM>|
|Subject: ||Re: SAS & COBOL Fig. Constants|
|Content-Type: ||text/plain; format=flowed|
I am not sure your request has not already been satisfied:
lowvalue = ._ ;
highvalue = constant ('big') ;
Proof: Since const('big') returns the largest double-precision float
representible on the computer running SAS, any SAS numeric value will
satisfy the inequality AnySasNumber <= highvalue. But at the same time, the
dot-underscore is the lowest missing value, so lowvalue <= AnySasNumber
always holds. Hence,
lowvalue <= AnySasNumber <= highvalue
is always true. Quod erat demonstrandum.
Paul M. Dorfman
>From: Thomasset Pierre <pierre.thomasset@EURONET.BE>
>Reply-To: Thomasset Pierre <pierre.thomasset@EURONET.BE>
>Subject: Re: SAS & COBOL Fig. Constants
>Date: Sun, 6 Jul 2003 07:08:07 -0400
>We already submitted a ballot proposal : to create a SAS missing high-
>value, in addition to the existing SAS missing low-value(s).
>The reason was : when processing periods of time, if the first date of the
>period is not known, we set it to a SAS missing low-value. If the last date
>of the period is not known, there is no missing high-value. So, we have to
>use some dummy value, such as '31dec6999'd, in order to be able to use
>some 'where' processing on the period.
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.