| Date: | Wed, 4 Apr 2007 16:38:36 -0400 |
| Reply-To: | "Wainwright, Andrea" <andrea.wainwright@CAPITALONE.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Wainwright, Andrea" <andrea.wainwright@CAPITALONE.COM> |
| Subject: | Re: Mainframe SAS giving different result than PC....why? |
|
| In-Reply-To: | A<1175718412.535126.110690@y66g2000hsf.googlegroups.com> |
| Content-Type: | text/plain; charset="us-ascii" |
Missing is less than everything to SAS, so they should all end up in
group 1 on both platforms.
Have you done some proc prints to see if you really have missing as
opposed to blanks maybe?
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Hjermstad
Sent: Wednesday, April 04, 2007 4:27 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Mainframe SAS giving different result than PC....why?
If I run the following code......
data test;
set test1;
if var < 2 then var_new = 1;
else if var <4 then var_new = 2;
else if var < 10 then var_new = 3;
else var_new = 4;
run;
when I run frequencies on the PC, missing data are put into group 4 and
on the mainframe into group 1.
Why? It is driving me crazy!
Thanks.
The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is
addressed. If the reader of this message is not the intended recipient,
you are hereby notified that any review, retransmission, dissemination,
distribution, copying or other use of, or taking of any action in reliance
upon this information is strictly prohibited. If you have received this
communication in error, please contact the sender and delete the material
from your computer.
|