home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / bit / listserv / sasl / 4157 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.5 KB

  1. 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
  2. From: pat@PO.CWRU.EDU (Paul A. Thompson)
  3. Newsgroups: bit.listserv.sas-l
  4. Subject: RE: numbers in SAS
  5. Message-ID: <9209111419.AA04282@slc10.INS.CWRU.Edu>
  6. Date: 11 Sep 92 14:19:52 GMT
  7. Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. Reply-To: "Paul A. Thompson" <pat@po.CWRU.Edu>
  9. Lines: 19
  10. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  11. Comments: To: peterk@MIS.CORP.MCCAW.COM
  12. Comments: cc: sas-l@vtvm2.cc.vt.edu
  13.  
  14. [...] The only
  15. >thing I would add, given some of the postings on this thread, would
  16. >be to stress again the concept that _all_ variables (whereever they
  17. >may come from) within the DATA step take on an internal length of 8.
  18. >Their assigned length ONLY BECOMES A FACTOR WHEN THEY ARE STORED in
  19. >the output data set, at which point shorter length variables are
  20. >truncated.
  21.  
  22. This is absolutely the case.  In my posting with the example, the careful
  23. observer noted that I created the values, output them to a dataset and then
  24. tested for equality.  I had forgotten that essential point at first, and
  25. did the testing in the same step as the creation.  Length had no effect,
  26. but of course I was confused at that point.
  27.  
  28. --
  29. Paul Thompson, Ph.D.  |  Department of Psychiatry  |  (216) 844-7463
  30. Case Western Reserve University  | Cleveland, OH  44106
  31. ------------------------------------------------------------------------------
  32. When I hear "family values," I reach for my revolver. - paraphrasing Trotsky
  33.