home | schedules | software | help | who we are | about | workshops | links | data access | contact us | print version

AMT home page ITS home page Yale Front Door Contact us Search Yale Statlab

<  August 2008 >
(Leap Year)
Su Mo Tu We Th Fr Sa
          1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Reserve a classroom


Schedule for
08/20/2008


Main Lab
140 Prospect St.
Room 101
No Events Today

Brewster Hall
124 Prospect St.
Room B-13
No Events Today

Consultant's Desk
140 Prospect St.
Room 100
10am- 1:30pm Foong Soon Cheong
1:30- 5pm Frank Limbrock


schedules

software

help

who we are

data access

about

workshops

links

SAS for UNIX

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;
  • 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