Using SAS on UNIX (Win)
This page provides instructions on setting up SAS with UNIX on a Windows computer using X-Win 32.
Once you have followed instructions below, you will be able to start SAS by logging into your UNIX account on X-Win 32 and typing sas each time you use the software in the future.
- Open the X-Win 32 application on your PC.
- You will see a prompt that says: bash-3.2$
- At the bash-3.2$ prompt, type ssh -Y username@aludra.usc.edu if you are a student, ssh -Y username@mizar.usc.edu if you are faculty or staff, ssh -Y username@hsc.usc.edu if you are faculty or staff at the HSC campus, or ssh -Y username@almaak.usc.edu if you are an HPCC user, where username is your USC username.
- When you are asked Are you sure you want to continue connecting (yes/no)?, type YES and press the return key to continue to the next line.
- At the next prompt, enter your USC password and press return.
- Next, type pico .login and press return.
- You will see several lines of code. Using the arrow keys, go to the very bottom of the code to the first place where there is a blank line underneath all the code.
- Type if (-e /usr/usc/sas/9.2/setup.csh) then
- Press return.
- Type source /usr/usc/sas/9.2/setup.csh
- Press return.
- Type endif
- Press return.
- Press control x to exit.
- Press y to modify your .login file.
- Press tab or return.
- Type source .login
- At the next prompt, type sas
- SAS should open.
Last updated:
May 31, 2011