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 (November 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 25 Nov 2006 13:52:17 -0500
Reply-To:   Micotine Muso <micotine@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Micotine Muso <micotine@GMAIL.COM>
Subject:   Labels

This should be simple. Unfortunately, its left me perplexed. I am using the following code but I do not get the labels with the variable names in the proc freq. I would appreciate if my error could be pointed out.

Thanks in advance, Mico

/*************code ************/ Proc format; value t1_ 1 = "20-24" 2 = "25-30" ; value t3_ 0 = "Capital, large city" 1 = "City" 2 = "Town"; DATA cars1; attrib mpg length=4 format=t1_. label="Age 5-year groups"; attrib status length=4 ; attrib resi length=4 format=t3_. label="Type of place of previous res.";

INPUT model $ mpg status resi; CARDS; Concord 1 95 0 Pacer 2 96 1 Spirit 1 96 2 Century 2 96 2 Electra 1 95 1 ; RUN;

proc freq; tables mpg status; run;

/********code ends ***************/


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