ITS maintains a version of SAS on Jan (and also on Dana) that may be accessed in batch mode while logged interactively into the system (via ssh) or by running it under X on your local PC. X is a windowing system similar to the Mac OS or to XP that allows you to start up a program on the server that displays on your local PC.
Once
Cygwin/X has been successfully installed on your system, start it up by pulling
up the start menu, selecting cygwin and then cygwin bash shell.
A window similar to the one at the right will be displayed on your screen. This
is the Unix environment for windows. To start SAS you will need to type in a
few commands.
The
first is startx. Type startx in and press the enter key. A new window
will open up. This is the X command shell. The figure to the right shows the
X shell. In the new X window you will type in the following commands.
Command |
Explanation |
xhost jan.ucc.nau.edu |
This command gives the Jan machine permission to display windows on your PC |
ssh XXX@jan.ucc.nau.edu "setenv DISPLAY Yourmachinename:0.0;sas" |
This command will start SAS as the user XXX on Jan. Replace the XXX with your Jan user ID and Yourmachinename with the IP address or name of your PC. |
The SAS windowing environment should start and look similar to the image shown below.
.
In order to use SAS you must know the SAS programming language. You should also have a text editing program such as notepad on your Windows PC. Do not use word or any other word-processing program to create or modify your SAS programs.
Your data and SAS programs should be saved in the PC subdirectory on your Jan account. The PC subdirectory is mapped to your Z drive when logged into the NAU or NAU-Students domain.
Full SAS documentation may be found at http://www.nau.edu/its/acad/stats.