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 (May 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 2 May 2008 17:37:58 -0400
Reply-To:     Sophia Tong <sophidt@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Sophia Tong <sophidt@HOTMAIL.COM>
Subject:      output data from PROC FREQ with formatted values

Dear listers,

I am trying to generate output data set from PROC FREQ with formatted variables. the format name for each variable in a format of varF, i.e. if variable name is AGEGRP then format name is AGRGRPF, so some format name got more than 8 characters long.

I want output data set look like this:

AGEGRP PERCENT <50 25% 50+ 75% INSURANCE PERCENT Yes 65% No 35%

Right now, my output data look like this:

AGEGRP PERCENT <50 25% 50+ 75% INSURANCE PERCENT 1 65% 0 35%

I found this is because the format name for insurance is >8 long (INSURANCEF). Anyone know how to fix it?

Thanks,

Sophia


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