home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3438 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.5 KB  |  38 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!gatech!paladin.american.edu!auvm!STACC.MED.UTAH.EDU!KNECHOD
  3. Mailer: Elm [revision: 66.33]
  4. Message-ID: <SAS-L%92072716274649@UGA.CC.UGA.EDU>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Mon, 27 Jul 1992 14:31:04 MDT
  7. Reply-To:     knechod@stacc.med.utah.edu
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         Kevin Nechodom <knechod@STACC.MED.UTAH.EDU>
  10. Subject:      Re: Date Selection with Data Steps
  11. Comments: To: MKEINTZ@PENNSAS.UPENN.EDU,
  12.               SAS Mailing List <sas-l@uga.cc.uga.edu>
  13. In-Reply-To:  from "Mark Keintz" at Jul 27, 92 4:25 pm
  14. Lines: 22
  15.  
  16. > On Mon, 27 Jul 1992 14:15:40 MDT you said:
  17. > >I am trying to write a data step script that will select a subset of
  18. > >records out of a data set that has each record dated.
  19. > >
  20. > Use date literals, as in the where command below.
  21. >
  22. > data new;
  23. >     set old  ;
  24. >     where '07MAY69'D <= cutdate <= '07JUN72'D ;
  25. >
  26. > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  27. > Mark Keintz  mkeintz@pensas.upenn.edu         Ph: 215/898-6713
  28. >              Population Studies Ctr/6298      Phila., PA 19104  USA
  29.  
  30. OOPS!  When I tried that, I left off the 'D'!  That will make it work
  31. LOTS better!
  32.  
  33. --
  34. Kevin Nechodom UofU STACC        | Great Moments in Physics History:
  35.  UofU doesn't even know I exist; | "E= m c cubed?  No, too gaudy.
  36.  how would they care what I say? |  E= m c ?  No, too simple.
  37. knechod@stacc.med.utah.edu       |  E= m c squared?  Ah, ha!"
  38.