Hello all; thanks for taking this little questions. I am a novice with
SAS, but have a steep learning curve. I have tried to print a list of
all variables with their labels and format type (char or num, etc) in
my database using the PROC CONTENTS function. What it does not place in
this output is a list of VALUE LABELS (e.g for variable Gender: Values
1, 2: Value labels 1-FEMALE 2-MALE); Yes, I have these value labels in
the database that are in 'lookup tables', that I created using EpiInfo
V3.2.2 (MSAccess backend). My question is: how do I get SAS PROC
CONTENTS print these value labels out, so that I have a comprehensive
CODEBOOK ready for use. My workaround this difficulty is to print using
PROC CONTENTS as RTF using ODS output style; then adding a column for
Value Labels and manually enter these for all variables that have been
entered 'comment legal' values.
Many thanks once again.
Best wishes,
Shuaib