go back to sasclass start

How to Run SAS?

SAS can be run in interactive/menu DMS* mode on a PC or Mac or by submitting a program containing sas instructions. Even when the menus are used sas writes code which you can see and save to a file for susequent runs or for instruction. (*DMS stands for Display Manager System = menus).

Running a sas program generally involves the following steps:

  1. Create the sas program (my.sas) using any editor (e.g. pico, vi, emacs or ??)
    mead% pico my.sas
  2. run the sas program:
    mead% sas my.sas
  3. look at the output log of the run (my.log) and output if requested (my.lst)
    mead% more my.log

    A sample SAS Program Step by Step

Options to use when starting sas

If you encounter problems running Sas or have questions please Send Email to Help