|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|
Data A B;
** assume variable "adelete" is true (1) when you want to delete it from
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".
email@example.com wrote in article <firstname.lastname@example.org>...
> 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.