home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!lll-winken!elroy.jpl.nasa.gov!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!PO.CWRU.EDU!PAT
- From: pat@PO.CWRU.EDU (Paul A. Thompson)
- Newsgroups: bit.listserv.sas-l
- Subject: RE: numbers in SAS
- Message-ID: <9209111419.AA04282@slc10.INS.CWRU.Edu>
- Date: 11 Sep 92 14:19:52 GMT
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- Reply-To: "Paul A. Thompson" <pat@po.CWRU.Edu>
- Lines: 19
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Comments: To: peterk@MIS.CORP.MCCAW.COM
- Comments: cc: sas-l@vtvm2.cc.vt.edu
-
- [...] The only
- >thing I would add, given some of the postings on this thread, would
- >be to stress again the concept that _all_ variables (whereever they
- >may come from) within the DATA step take on an internal length of 8.
- >Their assigned length ONLY BECOMES A FACTOR WHEN THEY ARE STORED in
- >the output data set, at which point shorter length variables are
- >truncated.
-
- This is absolutely the case. In my posting with the example, the careful
- observer noted that I created the values, output them to a dataset and then
- tested for equality. I had forgotten that essential point at first, and
- did the testing in the same step as the creation. Length had no effect,
- but of course I was confused at that point.
-
- --
- Paul Thompson, Ph.D. | Department of Psychiatry | (216) 844-7463
- Case Western Reserve University | Cleveland, OH 44106
- ------------------------------------------------------------------------------
- When I hear "family values," I reach for my revolver. - paraphrasing Trotsky
-