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!PHPDLS1.EM.CDC.GOV!RJF2
- X-Delivery-Notice: SMTP MAIL FROM does not correspond to sender.
- Return-Path: rjf2@PHPDLS1.EM.CDC.GOV
- Encoding: 36 TEXT
- X-Mailer: Microsoft Mail V3.0 (beta-2)
- Message-ID: <2AFF629B@router.em.cdc.gov>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 10 Nov 1992 11:22:00 EST
- Reply-To: rjf2@PHPDLS1.EM.CDC.GOV
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: rjf2@PHPDLS1.EM.CDC.GOV
- Subject: proc FREQ usage
- Lines: 31
-
- content : Information
- summary : proc FREQ usage with char-vars greater than 16 chars
- rlse/platform: V6.07 / MVS
- Ron Fehd : SMTP:BitNet: <rjf2@phpdls1.em.cdc.gov>
- Centers for Disease Control
- 1600 Clifton Rd MS:G25 FAX : 404/639-1778
- Atlanta, GA 30333 USA phone: 404/639-1707
-
- Here's some more interesting stuff on proc freq:
-
- when your char-var is greater than 16 chars and you want to see the whole
- var, you can create an SSD with proc FREQ and then print it. This does *not*
- get around the issue of uniqueness in the first 16 characters that the List
- has been talking about recently.
-
- DATA LONGNAME;
- length Char_Var $ 17;
- <input, set, whatever. . .>;
-
- proc FREQ;
- tables Char_Var / /*missing*/ out = FREQ_SSD noprint;
-
- DATA FREQ_SSD;
- set FREQ_SSD;
- retain CumCount CumPcent 0;
- CumCount + Count;
- CumPcent + Percent;
-
- proc PRINT;
-
- happy crunching!*!*!
-