| 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.
>
>
|