home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!stanford.edu!bcm!convex!darwin.sura.net!paladin.american.edu!auvm!GTE.COM!GLG2
- X-Mailer: ELM [version 2.3 PL10]
- Message-ID: <9211101628.AA25293@bunny.gte.com>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 10 Nov 1992 11:28:48 EST
- Reply-To: "(Gail Gill)" <glg2@GTE.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "(Gail Gill)" <glg2@GTE.COM>
- Subject: Re: Proc Freq, using SQL
- Comments: To: sas-l@uga.cc.uga.edu
- In-Reply-To: <199211101511.AA01909@harvey.gte.com>; from
- "HARVEY::"SAS-L@uga.cc.uga.edu" at Nov 10, 92 10:11 am
- Lines: 15
-
- In regards to 16 character truncation with PROC FREQ, several months ago there
- was much discussion about that very topic. A wonderful solution was provided
- by those users of SQL. I have used it successfully many times. An example
- follows:
-
- proc sql;
- create view **give it a name** as
- select **your variable**, count (*) as count
- from **your SAS dataset name***
- group by **your variable listed above***;
-
- Should you desire to see a print out of your results, you need only
- do a proc print with data= and put your view name there.
-
- Hope this helps.
-