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 (May 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 7 May 2007 11:51:26 -0400
Reply-To:   sanjay sun <sanjaysum@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   sanjay sun <sanjaysum@GMAIL.COM>
Subject:   Proc Transpose
Content-Type:   text/plain; charset=ISO-8859-1; format=flowed

Hi All,

I have a data set with 8 variables - Site, SubjID, LT, Value, unit, Window, TRT, Group. The group variable has 2 values .I want to transpose the data set in such a way that I will have all the first 7 variables and two new variables each from one of the two values of the eighth variable. Can anyone help me out?

Thanks

Sanjay

Input data set

Site SubjID LT Value unit Window TRT Group

XXX

YYY

Output data set should look like

Site SubjID LT Value unit Window TRT XXX YYY


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