home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- 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
- Return-Path: <@OHSTVMA.ACS.OHIO-STATE.EDU:SAS-L@VTVM2.BITNET>
- Posted-Date: 26 Jan 93 10:22:58 EST
- X-Pmrqc: 1
- X-Mailer: Pegasus Mail v2.3 (R1).
- Message-ID: <MAILQUEUE-101.930126102257.480@server.sasw.ncsu.edu>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 26 Jan 1993 10:22:58 EST
- Reply-To: Ted Greenstein <TED@SERVER.SASW.NCSU.EDU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Ted Greenstein <TED@SERVER.SASW.NCSU.EDU>
- Subject: Reordering variables in a SAS dataset
- Comments: To: sas-l@vtvm2.bitnet
- Lines: 18
-
- Is there an easy way to reorder the variables in a SAS dataset (this
- is under 6.08 for Windows)? I know that I can (a) change the order
- in which the data are read from the raw data file initially, and (b)
- write the variables out using a PUT statement, then read them back in
- the desired order. But isn't there some easier way?
-
- Just for comparison, I notice that SPSS/PC has a command that will do
- exactly this: reorder the variables in any desired ordering.
-
-
- Theodore N. Greenstein
- 307 1911 Building
- Department of Sociology and Anthropology
- North Carolina State University
- Raleigh, NC 27695-8107
-
- Voice: (919) 515-3114 FAX: (919) 515-2610
- Email: ted_greenstein@ncsu.edu
-