Date: Wed, 26 Apr 2000 08:49:19 +0200
Reply-To: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Subject: Re: delete partial record only
No, a dataset has a rectangular sturcture, that is all records have the same
variables (columns). If you want to DROP variables you drop them in the
whole dataset. The only thing you may do is to conditionally redefine
(reassign) values to specific variables, i.e. missing values.
Regards - Jim.
Y. Groeneveld, MSc IMRO TRAMARKO tel. +31 412 407 070
senior statistician, P.O. Box 1 fax. +31 412 407 080
head IT department 5350 AA BERGHEM IMRO TRAMARKO: a CRO
J.Groeneveld@ITGroups.com the Netherlands in clinical research
My computer allows me to be buggy, imperfect; my wife ......
> -----Original Message-----
> From: paula [SMTP:icj808@USWEST.NET]
> Sent: Wednesday, April 26, 2000 2:12 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: delete partial record only
> Now I know well if I do this
> if x=0 then delete;
> It will delete the whole recond if the condition is met.
> How about I only want to drop several columns of the whole records? I will
> if x=0 then delete v2, v3, v29; Is this one of the right ways?
> P. D