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

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