
SPSS for UNIX
Running SPSS in X Windows
- With X Terminal software, SPSS sessions on Unix
machines are similar to SPSS for Windows sessions. All
of the computers at the STATLAB have X terminal software which can be started
by opening the NETWORK folder and clicking on the Xwindows on biscu
icon.
If you are using an X terminal outside the Statlab, telnet to statapp and set the X display to your machine by typing:- setenv DISPLAY
your_IP_address:0
- To Start SPSS in an X Window:
-
- Type spss in the xterm window
- To Exit SPSS in an X Window:
- Click on File > Exit
- setenv DISPLAY
your_IP_address:0
Batch Processing in SPSS
- Batch Processing is recommended for SPSS for UNIX
without an X Window.
Use a UNIX editor such as pico or emacs to compile commands in a syntax file.- Syntax Rules for Batch Processing:
- Each command must begin in the first column of a new line.
- Continuation lines, including subcommands, must be indented at least one space.
- The period at the end of the command is optional.
- Check SPSS Basics for more information on SPSS syntax.
To run a command syntax file and also to specify an output file, type :
- spss -m syntax_filename > output_filename
- at the UNIX prompt.
Running SPSS through the Manager
- The SPSS Manager is a text editor designed to let you
enter, edit, and save SPSS commands; run SPSS commands by submitting them to
the SPSS Processor; and view, edit, and save SPSS output. This session provides
an interface similar to SPSS/PC+ for DOS, and includes input and output
windows.
- To start an SPSS Manager session
- Type
- spss +m
- Useful Key Combinations
- Press ESC ESC to exit any mini-menu.
- Press CTRL C to interrupt commands that are running.
- To Exit an SPSS in Manager mode
- Press ESC 0
