home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!gatech!paladin.american.edu!auvm!CCSVAX.SFASU.EDU!A_MILLARDGD
- X-Vmsmail-To: SMTP%"SAS-L@uga.cc.uga.edu"
- Message-ID: <920731111204.2180026e@CCSVAX.SFASU.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Fri, 31 Jul 1992 11:12:04 -0500
- Reply-To: Glenn Millard <A_MILLARDGD@CCSVAX.SFASU.EDU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Glenn Millard <A_MILLARDGD@CCSVAX.SFASU.EDU>
- Subject: Comma delimited files
- Comments: To: SAS-L@uga.cc.uga.edu
- Lines: 19
-
- Comment: Sorry for the last incomplete message, I hit the wrong key.
- Summary: Comma delimited files
- E_addr: a_millardgd@ccsvax.sfasu.edu
- Name: Glenn Millard
- PH/ADDR: 409-568-1020/Stephen F. Austin State University, Nacogdoches, Texas
-
- I agree with Howard's comment about the delimiter being messy. If you have
- used comma delimited files before to move to spreadsheets or databases you
- might note that a double quote can be used as well as a single quote.
- Example : 156,"O'hare Airport",456
- This would cure this small problem. The other problem is determining when
- to quote and when not to quote, character vs. numeric. I have found out that
- many spreadsheets do not care if the numeric is quoted as well, all quotes
- are stripped on input anyway. Its the first character of the field that they
- use to determine the field type, character or numeric. Therfore you would be
- quite safe with the following.
- Example: "156","O'Hare Airport","456"
- You can always try it, if it does not work you could group your numeric
- and character variables separately.
-