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 (April 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: paula <icj808@USWEST.NET>
Content-Type: text/plain

Paula,

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 > test > > if x=0 then delete v2, v3, v29; Is this one of the right ways? > > P. D


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