home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / sasl / 5756 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.2 KB  |  29 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!auvm!SMUVM1.BITNET!UDCW
  3. Organization: Southern Methodist University
  4. Message-ID: <SAS-L%93012610200092@UGA.CC.UGA.EDU>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Tue, 26 Jan 1993 09:19:42 CST
  7. Reply-To:     UDCW@SMUVM1.BITNET
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         UDCW@SMUVM1.BITNET
  10. Subject:      COMMA DELIMITED ASCII FILES
  11. Lines: 16
  12.  
  13. I have an ASCII file that is delimited by commas and quotation marks(").
  14. Numeric and character variables are both separated by commas except
  15. when a character variable contains commas then the entire text string
  16. is enclosed in quotation marks.  For example,
  17.  
  18. 12,54,67,"Welch,David",34,3,the big dog
  19.  
  20. Is there an easy way to read a file like this in SAS?  There are an
  21. equal number of variables on each record and all variables are
  22. ordered, but they are not fixed width.
  23.  
  24. Thanks in advance,
  25. David Welch
  26. Senior Systems Analyst
  27. Southern Methodist University                            UDCW @ vm.cis.smu.edu
  28. (214) 692-2036                                         dwelch @ sun.cis.smu.edu
  29.