1 = 'NOT IMPORTANT AT ALL'
2 = 'NOT VERY IMPORTANT'
3 = 'SOMEWHAT UNIMPORTANT'
4 = 'NEUTRAL'
5 = 'SOMEWHAT IMPORTANT'
6 = 'IMPORTANT'
7 = 'VERY IMPORTANT'
0 = 'DOES NOT APPLY';
data whatever; set whatever1;
format I1-I98 labels.;
I believe that'll do ya. May need to double check syntax, but I think I'm
Though this is only for formats, not labels per se, and is only good for the
present SAS session. If you want these format to be permanent, you can
create an external format catalog. Check the SAS Online Help for more on
that, or someone on the list may have a quick explanation.
CDC Information Systems Support Services (CISSS)
Contractor Support to NCHSTP / Division of HIV/AIDS Prevention
Sent: Thursday, August 01, 2002 6:23 PM
Subject: SAS Equivalent of SPSS Variable Labels
Does SAS have the equivalent of the SPSS Variable Labels?
VALUE LABELS I1 TO I98
1 'NOT IMPORTANT AT ALL'
2 'NOT VERY IMPORTANT'
3 'SOMEWHAT UNIMPORTANT'
5 'SOMEWHAT IMPORTANT'
7 'VERY IMPORTANT'
0 'DOES NOT APPLY'
This allows labels to be established for the possible values of a
Thanks for your help.