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 (January 1997, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 4 Jan 1997 22:04:32 GMT
Reply-To:   Larry Phipps <lphipps@EROLS.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Larry Phipps <lphipps@EROLS.COM>
Organization:   Erol's Internet Services
Subject:   Re: move an observation

Yannis,

Try this:

Data A B; set A; ** assume variable "adelete" is true (1) when you want to delete it from "A" **; if adelete = 1 then output B; else output A;

This code will write observations to the respective data set depending on the state of the variable "adelete".

Best regards, Larry

yannis@philos.com wrote in article <5ahhq6$adh@vnetnews.value.net>... > I have a datasets. A . I need to delete an observation from A and > copy it to a new data set B. B has to be created. > >


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