information technology central services at the university of michigan FridayOctober102008

GPCC Home

SSH Information

Login Service

Statistics and Computation Service

Account Status

SAS

The current version of SAS is Release 9.1.3.

Running SAS

SAS can be run in interactive or batch mode, and in command-line or graphical mode. Batch mode is when you have a file of SAS commands that you wish to run and look at the output after everything has completed. To run SAS in batch mode, you would enter

sas commands.sas &

This will create a log file (commands.log) and an output file (commands.lst). Always look at the log file, as any errors or warnings will get put there, not in the output file.

There are two interactive modes: command-line and graphical. To run SAS in command-line mode, you would type

sas -nodms

at which point SAS is running and waiting for you to type commands. The most important command is

endsas;

which will get you out of SAS (no matter how much fun you are having with SAS, you should eat sometime).

To run SAS in graphical mode, you will need to be at a machine that can act as a display for SAS. The SCS Unix workstations will do this automatically, and the Windows machines in the Computing Sites can do this if you start eXceed (more information on using eXceed in Sites). Once you have a terminal set up, just

sas &

will start SAS in graphical mode, which is very much like the Windows version.

For further information, see below for SAS support.

SAS Support

SAS is supported by the Center for Statistical Consultation and Research (CSCAR) SAS technical support is available via telephone (764-STAT -- 764-7828), via e-mail (sas.help@umich.edu), and in person at CSCAR (see their website for their location and directions). CSCAR can also assist you with statistical questions; contact them for details.

Comments, questions, or suggestions? Please e-mail them to ITCS Statistics and Computation Service scs-admins@umich.edu

ITCS
Information Technology Central Services at the University of Michigan