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:
-
Create the sas program (my.sas) using any editor (e.g. pico, vi, emacs or ??)
mead% pico my.sas
-
run the sas program:
mead% sas my.sas
-
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
-
specifying the work disk sas uses:
mead% sas -work valid write disk path
The default is to use 100 meg on /stat/tmp for sas work space
-
specifying the amount of memory sas can use:
mead% sas -memsize NNm
mead% sas -memsize 32m
The default is to use 16m (meg) of memory
If you encounter problems running Sas or have questions please
Send Email to Help