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 (March 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Mar 2010 09:55:46 -0800
Reply-To:     "Richard A. DeVenezia" <rdevenezia@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <rdevenezia@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: proc format.
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On Mar 11, 5:20 am, Ching <kcwo...@gmail.com> wrote: > Hi everyone. > > May I please ask why only raceF but not ethnicityF can be loaded to my > 'e' dataset? Somehow only format name less than 8 letters can be > loaded. I tried shortening ethnicityF to ethniciF then it would be > fine. What should I do so I can use ethnicityF(also longer format > name) rather than raceF? > > proc format; > value ethnicityF 1='Chinese' 2='European' 3='Indian'; > value raceF 1='Chinese' 2='European' 3='Indian'; > run; > data e; > format eth ethnicityF.; > input id eth @@; > datalines; > 1 1 2 2 3 3 > ; > run; > > Many thanks in advance. > Have a great weekend.

What version of SAS are you using ? Earlier versions limited the length of format names to eight characters.

-- Richard A. DeVenezia http://www.devenezia.com


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