home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3453 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.3 KB  |  31 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!gatech!paladin.american.edu!auvm!DARTCMS1.BITNET!SWICKHAM
  3. Message-ID: <SAS-L%92072814592382@UGA.CC.UGA.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Tue, 28 Jul 1992 14:32:53 EDT
  6. Reply-To:     Steve Wickham <SWICKHAM@DARTCMS1.BITNET>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Steve Wickham <SWICKHAM@DARTCMS1.BITNET>
  9. Subject:      writing variable names to external file
  10. Lines: 19
  11.  
  12. System: VMS/SAS 6.06
  13. Subject: Writing variable names to an external file
  14.  
  15. Hi, y'all
  16.   This ought to be a simple one, but it's got me stumped.  I have a transposed
  17. data set that I'd like to write to an external file, with variable names
  18. at the top of columns.  Put 'var1' 'var2', etc. where var1 is the 1st variable
  19. name, etc. won't work because I don't exactly know the names of the variables
  20. due to the transpose.  The transposed variables all have the same prefix, but
  21. the also have a number that ranges between 0 - 99, but not consecutively.
  22. Confused? An example:
  23. DATE RIVER SITE ORDER1 ORDER3 ORDER5 ORDER17 ORDER9 ORDER85
  24. I need to output these column headings along with their values without
  25. knowing their names beforehand.  Any ideas?
  26.  
  27.   Thanks,
  28.   Steve Wickham
  29.   Dartmouth College
  30.   bitnet:swickham@dartcms1
  31.