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 (October 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 20 Oct 1997 08:43:02 -0700
Reply-To:   "kmself@ix.netcom.com" <kmself@ix.netcom.com>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   "Karsten M. Self" <kmself@IX.NETCOM.COM>
Organization:   Self Analysis
Subject:   Re: proc freq & strings
Comments:   To: "hmohideen@worldnet.att.net" <hmohideen@worldnet.att.net>
Content-Type:   text/plain; charset="us-ascii"

You can use PROC FREQ, though versions prior to 6.11 or 6.12 will truncate string distinction testing at 16 bytes. FREQ is also limited to a maximum of 32,767 distinct values of a variable (2**15 - 1).

You could use SQL, which avoids both these limitations:

proc sql; select count distinct( stringvar ) as count from mydata; quit;

On Saturday, October 18, 1997 2:56 PM, hmohideen [SMTP:hmohideen@worldnet.att.net] wrote: > Hi, > > Is there a way to get frequencies of a string variable in SAS. > Will appreciate any response or if anyone could send a sample > program it will be helpful. Thanks > > Habeeb > hmohideen@worldnet.att.net

Karsten M. Self (kmself@ix.netcom.com)

What part of "gestalt" don't you understand?


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