- Starting & Stopping SAS for UNIX
- X Terminal
All of the Statlab machines have Xterminal software. Open the NETWORK folder and click on the Xwindow on biscu icon, then start SAS by typing:- sas -fsdevice X11
- in the XTERM window.
If you are using an X terminal outside the Statlab and you telnet to the Statlab SUN, you can set your X display to your machine by entering: - setenv DISPLAY your IP address:0
- To exit:
Click at File/Exit or type bye at the command line
-
- ASCII Terminal
If you don't have an X terminal, you use just telnet, you can work with SAS interactivly by starting it with - sas
- In case you get error messages, like "Can't open X display" enter
- sas -fsdevice ascii
- To exit:
Type at the command line - bye
- or run a program
- endsas;
- ASCII Terminal
- Batch mode
- If you have a program file "myprog.sas" you can run SAS in batch mode:
- sas myprog.sas
- The log is saved in "myprog.log", the output in "myprog.lis"
The Syntax of a SAS program is basically the same for all platforms. But you need to convert SAS datasets, if you want to use them on different platforms.
There is general information available on how to run statistical software on Statlab's UNIX machines
lm: December 20, 2001
