SAS OnlineTutorback||next

Try It!
Test a program without creating a data set.

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). Modify the DATA step to test the program without creating a data set.
    data interest;
       set finance.credit;
       if type='D';
       Total=transaction+(transaction*.18);
    run;

  2. Submit the program and examine the log for errors.

  3. Recall the DATA step and modify the program again to create a data set without writing out observations.

  4. Resubmit the program and examine the log.

    Note: Remember to return any global settings you change to their original values.

    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