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