Date: Sun, 19 Sep 2004 07:42:43 GMT
Reply-To: LWn <lars.wahlgren.pleasenospam@STAT.LU.SE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: LWn <lars.wahlgren.pleasenospam@STAT.LU.SE>
Organization: Telia Internet
Subject: Re: How can I get such an expected dataset?
Try this
data expected ;
set one (rename=(x1=y1 x2=y2 x3=y3))
two ;
run ;
/LWn
"Xiangyang Ye" <xiangyang.ye@gmail.com> skrev i meddelandet
news:7eacb1e1040918145611862dce@mail.gmail.com...
> I have two datasets:
>
> dataset 1#
>
> x1 x2 x3;
> -----------------
> 1 2 3
> 4 5 6
>
> dataset 2#
>
> y1 y2 y3;
> --------------------
> 10 11 12
> 21 22 23
> ;
>
> My expected dataset is:
>
> y1 y2 y3
> ------------------
> 1 2 3
> 4 5 6
> 10 11 12
> 21 22 23
> ;
>
> How can I get the expected dataset without modifying the origional
datasets?
>
> Thanks.
>
>
>
>
> xiangyang
|