home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 4004 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.4 KB  |  47 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!PC.IBT.DK!OKOKS
  3. Encoding: 34 TEXT
  4. X-Mailer: Network Courier V2.1b
  5. X-Charset: ASCII
  6. X-Char-Esc: 29
  7. Message-ID: <2AA61953@pc.ibt.dk>
  8. Newsgroups: bit.listserv.sas-l
  9. Date:         Thu, 3 Sep 1992 06:55:00 PDT
  10. Reply-To:     okoks@PC.IBT.DK
  11. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  12. From:         okoks@PC.IBT.DK
  13. Subject:      Infile question
  14. Lines: 31
  15.  
  16. CONTENT:  Infile from Ingress-output.
  17. SUMMARY:  Question.
  18. REL/PLTF: 6.07/Unix
  19. E-ADD:    okoks@pc.ibt.dk
  20. NAME:     Karsten Strobek
  21. Date:     3 September 1992
  22.  
  23. Hello,
  24. I have a question about the use of infile to read data into SAS.
  25. I have some output from an Ingress-database. This database uses a <tab> as
  26. delimiter. Is it possible to get SAS to understand this too?
  27. Until now I have specified a certain length for each variable in the output,
  28. and the used the following code to read it:
  29.  
  30. infile 'whatever';
  31. input var1 $ 1-6 var2 $ 7-19 , ect.
  32.  
  33. I have tried to use characters as delimiter, but I must have done something
  34. wrong, because it didn't work.
  35.  
  36. I hope someone can help, or guide me to where I can RTFM.
  37.  
  38. TIA,
  39.  
  40. Karsten Strobek
  41.  
  42. Institute of Economics                              Phone: +45 33 91 21 66/377
  43. University of Copenhagen                                  Fax: +45 33 12 00 01
  44. Studiestraede 6                                      Internet: okoks@pc.ibt.dk
  45. DK-1455 Copenhagen K
  46. Denmark
  47.