SAS OnlineTutorback||next

Try It! Label a variable using Clinic.Admit.

Creating HTML output? Read this first.

  1. Copy the program below and paste it into the Program Editor window (or issue the command copy sashelp.oltutor..source).
    title1 'March Admissions';
    footnote1 'For Patients Over 30';
    proc print data=clinic.admit;
       var age height weight fee;
       where age>30;
       sum fee;
    run;
    

  2. Add an option to the PROC PRINT statement to display labels. Insert a statement to assign the label Admission Fee to the variable Fee.

  3. Submit the statement and view the output.

    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