SAS OnlineTutorback||next

Try It! Assign a format to a column in a report of Clinic.Diabetes.

Creating HTML output? Read this first.

  1. Copy and paste the following program into the Program Editor window:
    proc report data=clinic.diabetes nowd;
       column id age height weight;
       where age>40;
    run; 
    
  2. Add a statement and an attribute to assign the COMMA6.2 format to the variable Weight.

  3. Submit the program and view the report. Could you have formatted Weight using a different SAS statement?

    Return here and select Next.

Solution
back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA.
All rights reserved.

Terms of Use & Legal Information | Privacy Statement