SAS Examples

How to run SAS

Instructor:  Joshua D. Naranjo
Phone: (269)387-4548
Office: 5507 Everett Tower
How to run SAS in WMU computer labs:
  1. Go to a PC in a university computing lab (there are labs in Rood, Schneider, and Bernhard Center)
  2. Double click on the SAS icon on the desktop (or choose 'Programs' from Start menu). You will see a display that looks like the following. Notice tabs on the bottom for the Output, Editor, and Log windows.
  3. Click on the tab for the Editor window. You use this window to enter, edit, and submit SAS programs.
  4. Click on the tab for the Log window. The Log window displays messages about your SAS session and any SAS programs that you submit.
  5. Click on the tab for the Output window. The Output window displays the LISTING output from SAS programs that you submit. It automatically moves to the front of your display when you create LISTING output.

    (Beginning with SAS 9.3, the default output is in HTML format and is displayed in a Results window. To activate LISTING, go to the top of the main SAS window and choose Tools->Options->Preferences. Then check `Create Listing'.)

Some tutorials on SAS for Windows (For more, google 'SAS windows tutorial')

  • SAS manual documentation is available online.

    Go to (SAS Version 9 Online Documentation).
    Choose SAS/STAT.
    Choose SAS/STAT User's Guide.
    Scroll down to, for example, The REG Procedure.


    Department of Statistics
    3304 Everett Tower
    Western Michigan University
    Kalamazoo MI 49008-5152 USA
    (269) 387-1420 | (269) 387-1419 Fax