LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (December 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Dec 2003 18:54:34 -0800
Reply-To:     David <david5705@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         David <david5705@HOTMAIL.COM>
Organization: http://groups.google.com
Subject:      first. last. counter
Content-Type: text/plain; charset=ISO-8859-1

Dear All:

Apologies, but it's getting late and my brain has shut down for the evening :)

All I want to do is add a variable that counts the number of records within each by group. For example I want to include the variable "count" as follows:

patid drug count 1 A 1 2 S 1 3 B 1 3 F 2 4 O 1 5 W 1 6 A 1 6 C 2

I know it's a simple first. last. coding question, but any help would be appreciated.

Thanks,

David.


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