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 (September 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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