SAS OnlineTutorback||next

Try It! Using the Clinic.Admit data set, assign values to a link location variable.

Creating HTML output? Read this first.

  1. Start building a drill-down graph and tables by creating the data set Work.Activity, based on Clinic.Admit. Create a new character variable named DrillDown, give it a length of 40, and assign values to it based on the values of Sex:

    IF Sex is F
    THEN DrillDown contains the HREF location actfem.html.

    IF Sex is M
    THEN DrillDown contains the HREF location actmale.html.

  2. Add a PROC PRINT step to your program, specifying the variables Sex and DrillDown.

  3. Submit the program and examine its 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