LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 25 May 2004 23:22:36 -0400
Reply-To:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:   Re: small variables in proc means

Because there is no code and no sample data in the problem statement, I can only speculate.

The PROC MEANS result is numeric. The macrovariable is a character string. If the necessary conversion is done with the default BEST12. format, you may encounter rounding (not truncation). Try converting with the PUT function, specifying an appropriate format (like 20.14 or E12.).

On Tue, 25 May 2004 17:49:17 GMT, David Wright <David_wright@SPRA.COM> wrote:

>I am trying to find the smallest value of a variable and then output in a >macro variable. I do proc means, put the min value in output statement, then >use a datastep to output the value into a macro variable. But, for some >reason, the value is truncated after it gets out of proc means.


Back to: Top of message | Previous page | Main SAS-L page