[sas-users] 2 Easy SAS questions

elizabeth.may.nichols at census.gov elizabeth.may.nichols at census.gov
Wed Sep 21 10:33:37 EDT 2011


Question 1:
I have 200 character data and I want my proc print to wrap;

I have added, "options ls=200;"

What is the code so my output wraps and I can print it nicely?


Question 2:

I want to create a dataset where I format  the values in a variable.

I tried to

data x (keep=variablea);
set y;
format variablea $varfmt.;
run;

when I look at data x, I still have my unformatted values.  I tried to add
a "label" following an example on labels, but I kept getting errors.


Beth Nichols
Center for Survey Measurement
U.S. Census Bureau
301-763-1724
elizabeth.may.nichols at census.gov



More information about the sas-users mailing list