Formatting Variable Values |
Creating User-Defined
Formats |
The VALUE range specifies
proc format lib=library; value $grade 'A'='Good' 'B'-'D'='Fair' 'F'='Poor' 'I','U'='See Instructor'; run;When the specified values are numeric values, they are not enclosed in quotation marks, and the format's name should not begin with a dollar sign ($). The VALUE statement that defines the format JOBFMT assigns labels to numeric values. proc format lib=library; value jobfmt 103='manager' 105='text processor' 111='assoc. technical writer' 112='technical writer' 113='senior technical writer'; run; |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.