| Date: | Tue, 3 Feb 1998 09:14:12 -0700 |
| Reply-To: | Douglas Dover <ddover@V-WAVE.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Douglas Dover <ddover@V-WAVE.COM> |
| Organization: | Phoenix Research Group |
| Subject: | Min values of a dataset |
| Content-Type: | text/plain; charset=us-ascii |
Hi!
This seems so simple it must either be impossible or trivial.
Is it possible to access the minimum value of a variable (or other
simple statistics) during a datastep?
Eg.
Data D1;
Set D1;
If x=""MinOf""(x) Then Smallest=1; <--Is there such a thing??
run;
Thanks,
Doug.
Douglas Dover
SAS Consultant
E-mail: ddover@v-wave.com
Tel: 403-433-5756
|