home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!LOBBY.TI.COM!RSNYDER
- X-Mailer: ELM [version 2.2 PL16]
- Message-ID: <9207282023.AA28087@ti.com>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 28 Jul 1992 15:23:56 CDT
- Reply-To: "R. Snyder" <rsnyder@LOBBY.TI.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "R. Snyder" <rsnyder@LOBBY.TI.COM>
- Subject: Re: writing variable names to external file
- Comments: To: SWICKHAM%DARTCMS1.BITNET@uga.cc.uga.edu
- Comments: cc: sas-l@uga.cc.uga.edu
- In-Reply-To: <9207281902.AA24088@ti.com>; from "Steve Wickham" at Jul 28,
- 92 2:32 pm
- Lines: 26
-
- >
- > System: VMS/SAS 6.06
- > Subject: Writing variable names to an external file
- >
- > Hi, y'all
- > This ought to be a simple one, but it's got me stumped. I have a transposed
- > data set that I'd like to write to an external file, with variable names
- > at the top of columns. Put 'var1' 'var2', etc. where var1 is the 1st variable
- > name, etc. won't work because I don't exactly know the names of the variables
- > due to the transpose. The transposed variables all have the same prefix, but
- > the also have a number that ranges between 0 - 99, but not consecutively.
- > Confused? An example:
- > DATE RIVER SITE ORDER1 ORDER3 ORDER5 ORDER17 ORDER9 ORDER85
- > I need to output these column headings along with their values without
- > knowing their names beforehand. Any ideas?
- >
- > Thanks,
- > Steve Wickham
- > Dartmouth College
- > bitnet:swickham@dartcms1
- >
- Steve,
-
- Can you read the variable names prior to transposing the data set?
-
- Bob Snyder, Texas Instruments, Sherman, TX
-