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