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 (September 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 19 Sep 2008 04:49:25 -0700
Reply-To:     Patrick <patrick.matter@GMX.CH>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Patrick <patrick.matter@GMX.CH>
Organization: http://groups.google.com
Subject:      Re: Count variables
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

Here a Proc Tabulate solution. You could use Proc Report.

data have; infile datalines truncover; input studentID Course_title $ ExaminationDate:DDMMYY12. PassDate:DDMMYY12. Mark; datalines; 1 OEK 15.02.2007 1 OEK 15.04.2007 1 UIT 14.02.2007 1 UIT 18.04.2007 18.04.2007 6 1 SOS 16.04.2007 2 OEK 15.02.2007 15.02.2007 8 ;

options missing=' '; proc tabulate; class StudentID Course_title; table StudentID,Course_title*n=''; run;


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