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 (April 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 2 Apr 2003 12:51:59 -0500
Reply-To:     Samuel Yu Du <du_samuel@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Samuel Yu Du <du_samuel@HOTMAIL.COM>
Subject:      how to transfrom SAS data structure
Content-Type: text/html

<html><div style='background-color:'><DIV>hi, SAS users:</DIV> <DIV><FONT face=Helv size=2> <P>Originally, I have a data set of the following format:</P> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; variable</P> <P>-------------------------</P> <P>IBM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23</P> <P>IBM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 56</P> <P>NT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12</P> <P>NT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34</P> <P>-------------------------</P> <P>The question is how I can use SAS to transform this format into:</P> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; variable1&nbsp;&nbsp;&nbsp; variable 2</P> <P>--------------------------------</P> <P>IBM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;56</P> <P>NT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;34</P> <P>--------------------------------</P> <P>Thanks, </P></FONT></DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMFENCA/2752">ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*. </html>


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