home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / sasl / 5759 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.4 KB  |  35 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!auvm!SERVER.SASW.NCSU.EDU!TED
  3. Return-Path: <@OHSTVMA.ACS.OHIO-STATE.EDU:SAS-L@VTVM2.BITNET>
  4. Posted-Date:     26 Jan 93 10:22:58 EST
  5. X-Pmrqc:  1
  6. X-Mailer: Pegasus Mail v2.3 (R1).
  7. Message-ID: <MAILQUEUE-101.930126102257.480@server.sasw.ncsu.edu>
  8. Newsgroups: bit.listserv.sas-l
  9. Date:         Tue, 26 Jan 1993 10:22:58 EST
  10. Reply-To:     Ted Greenstein <TED@SERVER.SASW.NCSU.EDU>
  11. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  12. From:         Ted Greenstein <TED@SERVER.SASW.NCSU.EDU>
  13. Subject:      Reordering variables in a SAS dataset
  14. Comments: To: sas-l@vtvm2.bitnet
  15. Lines: 18
  16.  
  17. Is there an easy way to reorder the variables in a SAS dataset (this
  18. is under 6.08 for Windows)?  I know that I can (a) change the order
  19. in which the data are read from the raw data file initially, and (b)
  20. write the variables out using a PUT statement, then read them back in
  21. the desired order.  But isn't there some easier way?
  22.  
  23. Just for comparison, I notice that SPSS/PC has a command that will do
  24. exactly this: reorder the variables in any desired ordering.
  25.  
  26.  
  27. Theodore N. Greenstein
  28. 307 1911 Building
  29. Department of Sociology and Anthropology
  30. North Carolina State University
  31. Raleigh, NC 27695-8107
  32.  
  33. Voice: (919) 515-3114  FAX: (919) 515-2610
  34. Email: ted_greenstein@ncsu.edu
  35.