| Date: | Fri, 1 Oct 1999 01:35:10 +0100 |
| Reply-To: | John Whittington <John.W@MEDISCIENCE.CO.UK> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | John Whittington <John.W@MEDISCIENCE.CO.UK> |
| Subject: | Re: Use of SUM function in data step WHERE clause |
|
| In-Reply-To: | <199910010019.BAA11640@vicar.netnames.net> |
| Content-Type: | text/plain; charset="us-ascii" |
|---|
At 00:05 01/10/99 GMT, Daniel J. Nordlund wrote:
>Maybe someone else can provide the insight (which I can't), but if your
>variables, x1, x2, x3 are consecutive variables you can use the following
form:
>
>where=(sum(x1--x3)>80)
... except that it results in exactly the same error message :-)
As I've just written in another mesage, it seems that *any* sort of
variable list becomes unacceptable as an argument to *any* function when it
appears in a WHERE clause. Very odd!
Regards,
John
----------------------------------------------------------------
Dr John Whittington, Voice: +44 (0) 1296 730225
Mediscience Services Fax: +44 (0) 1296 738893
Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk
Buckingham MK18 4EL, UK mediscience@compuserve.com
----------------------------------------------------------------
|