- Copy and paste the following program into the Program Editor window:
proc report data=clinic.diabetes nowd;
column id sex weight fastgluc postgluc;
where age>40;
define weight / format=comma6.2;
define sex / width=3;
run;
- Specify four spaces between the columns of
Sex and Weight and the preceding column.
- For
Sex , specify a width of 7, the column heading Sex
of Patient, and center justification.
- For
FastGluc , specify the column heading Fasting
Glucose.
- For
PostGluc , specify a width of 12 and the column
heading Postprandial Glucose.
- In the column headings for
Sex , FastGluc ,
and PostGluc , use a split character so that each column
heading appears on two lines in either SAS listing or HTML output.
- Submit the program and view the report.
Return here and select Next.
|