SAS OnlineTutorback||next

Try It! Recall and edit a SAS program, submit it again, and view messages in the Log window.

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).
    data sasuser.mysales2;
       set sashelp.prdsale;
       if region="EAST";
    run;
    
  2. Submit the program and view log messages.

  3. Select Run --> Recall Last Submit to recall the program.

    Tip: If you are using an Enhanced Editor window in the Windows operating environment, you do not need to recall the program.

  4. Edit the third line of the program as follows:
    if quarter=1;
    
  5. Submit the program again.

  6. View messages in the Log window about your program. How many observations (rows) and variables (columns) does the new data set contain?

    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