SAS OnlineTutorback||next

Try It!
Use the error messages in the SAS log to diagnose and correct errors.

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). Submit the program and use the error messages in the SAS log to diagnose the error(s).
    data loan1;
       se finance.loans;
       if months>60
       Interest=amount*(rate//12);
    run;
  2. Recall the DATA step to the Program Editor window. Correct and resubmit the program. When correct, the SAS log will indicate that the data set Work.Loan1 contains three observations and six variables.

    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