LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 27 Sep 2006 05:01:13 -0700
Reply-To:   "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Organization:   http://groups.google.com
Subject:   Re: Selecting records
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset="iso-8859-1"

Dear Paul. If your data is sorted by ID and Month, somthing like this should do the trick. Untested code.

data want; set inputdata (where=(prod>.)); by ID month; if last.ID then output; run;

Regard Mogens A. Krogh DVM, PhD-student www.kvl.dk


Back to: Top of message | Previous page | Main SAS-L page