Center for Patient Care and Outcomes Research (PCOR)

EmailEmail    |   Bookmark Page Bookmark  |   RSS Feeds RSS  |   Print Page Print  

SAS FAQs

How do I run SAS?
Most likely you are using XEmacs to edit your .sas file. If so, then there are some very nice features for running SAS; see the "ESS Commands" towards the end of the first question under XEmacs for more information.

Otherwise, you can run SAS from the command-line:
prompt> nohup nice sas ROOT &where ROOT is the filename without the extension, i.e. the filename is actually ROOT.sas. "nohup" keeps your command running after you logoff and "nice" tells SAS not to hog all of the resources since you and others may want to run other commands as well.

SAS runs SAS v. 9.2 (the only version of SAS available on Godzilla) and it backs up files with the following extensions, if they exist, before running SAS: .sas, .log, .lst, .txt, .rtf, .ps, .eps, .pdf, .jpg, .jpeg, .gif and .tiff. Up to nine different versions of each file are supported; .ROOT.sas.1 is the most recent, .ROOT.sas.2 is the second most recent, etc.

This SAS script attempts to detect if you are running the same SAS program multiple times.

 

Where did the SAS documentation go?
SAS once again provides its documentation in HTML and PDF form. You can find the new SAS documentation at http://support.sas.com/documentation/index.html 

 

PostScript/Encapsulated PostScript with SAS v. 9
In SAS v. 9, you may experience problems with PostScript and/or Encapsulated PostScript files that have no linefeeds. There is a simple solution; specify the GEND= parameter as follows: GOPTIONS DEVICE=... GEND='0D0A'X;
 

webmaster@mcw.edu
© 2014 Medical College of Wisconsin
Page Updated 07/15/2014