home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!gatech!paladin.american.edu!auvm!DARTCMS1.BITNET!SWICKHAM
- Message-ID: <SAS-L%92072814592382@UGA.CC.UGA.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 28 Jul 1992 14:32:53 EDT
- Reply-To: Steve Wickham <SWICKHAM@DARTCMS1.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Steve Wickham <SWICKHAM@DARTCMS1.BITNET>
- Subject: writing variable names to external file
- Lines: 19
-
- 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
-