NAME

     spss - SPSS data analysis and statistics package


SYNOPSIS

     spss [ -s workspace ] [ -d macrodefinition ] [ -t filename ]
     [ -c command ] [ -u number_of_lines ] [ -a on/off ] [ -e ] [
     -g on/off ] [ -x on/off ] [ file1 [ file2 ]]

     spss -m [ -p ] [ -s workspace ] [ -d macrodefinition ] [ -t
     filename ] [ -c command ] inputfile

     spssrem [ -i ]  [ -q ]  [ -z ] [ -d macrodefinition ] [ -l
     length ] [ -s workspace ] [ -w width ]


DESCRIPTION

     Both commands, spss and spssrem, execute the SPSS data
     analysis and statistics package with various interfaces.
     Spss starts the SPSS Manager, a screen-oriented editor,
     browser, and command builder. Spss -m starts a simple
     prompting interface suitable for slow terminals and batch
     runs.  Spssrem is used for running SPSS from a different
     computer and has no user interface.

     GENERAL OPTIONS

     -s workspace
          specifies the number of bytes SPSS is to use as working
          storage.  Workspace is a number; "k" or "m" can be used
          to mean "kilobytes" or "megabytes." The default if no
          amount is specified is 200K bytes.

     -d macrodefinition
          defines a simple string-substitution SPSS macro. Macro-
          definition takes the form macroname=text. Spaces are
          not allowed on either side of the equal sign.  If it
          contains any spaces, the entire macrodefinition must be
          quoted.  Use apostrophes if the shell is to leave it
          untouched.  Use quotes (") to get shell filename and
          variable substitution.  The definition will be in
          effect when SPSS starts. Any number of -d options
          defining different macros may be used.

     -u number_of_lines
          specifies the number of lines in the upper (output)
          window of the SPSS Manager when two files are being
          edited.  SPSS Manager will not allow either window to
          be less than seven lines long.

     -a on/off
          controls automatic viewing of output. When this switch
          is on output from the SPSS processor ( the "back end"
          or "statistical engine") is automatically displayed in
          the output (upper) window of the SPSS Manager.  The
          default state is "on" - output is automatically
          displayed in the upper window.

     -e   use SPSS Manager as editor. The SPSS processor (the
          "back end" or "statistical engine") is not started.

     -g on/off
          controls initial display of menus. When this switch is
          on the SPSS Manager session begins with command menu
          windows displayed.  The default state is "off" - the
          Manager starts without the command menus displayed.

     -x on/off
          controls menu mode. When this switch is on the SPSS
          Manager uses extended command menus.  The default state
          is "off" - extended command menus are not used.

     SPSS OPTIONS

     -t outputfile
          All the output (unedited) is written to the file named
          here, as well as to the standard output (for spss -m )
          or output window. Use this option to create a record of
          the output of your interactive session.

     -c command
          gives the command to be used to start the SPSS proces-
          sor (the "back end" or "statistical engine").  It may
          be used to start it on another computer, using the rsh
          (remote shell) command.  If so, the remote shell should
          execute spssrem. The command usually must be quoted.

          Spss will append the -s and -d options from its command
          line along with other options like -i, -q, -w, or -l.

     SPSS -M OPTIONS

     -p   suppresses the pause feature.  If this option is not
          specified, spss -m pauses at the bottom of each output
          page until you press RETURN. With this switch, it keeps
          going.  This switch is not needed for batch runs.

     inputfile
          The input file for a batch run may be named.  If it is
          not, the standard input is used.

     SPSS (WITHOUT -M) OPTIONS

     file1 [file2]
          If spss is run with no files named, the SPSS Manager
          starts with the files scratch.sps and scratch.lst (for
          commands and output respectively).  If one file is
          specified, that file alone is edited. If two files are
          named, the first one appears in the bottom (commands)
          window, and the second in the upper window.

     SPSSREM OPTIONS

     The following options are supplied by the spss command as
     appropriate.  It is not normally necessary to specify them.

     -w width
          specifies the starting page width.

     -l length
          specifies the starting page length.

     -q   specifies that the SPSS Processor is to prompt for
          input.

     -z   specifies that the SPSS Processor is to generate the
          messages used by the SPSS Manager to display status
          information (case count, command name, dictionary
          information, etc.)

     -i   indicates that the SPSS Processor's error recovery and
          command parsing behavior is to be suitable for an
          interactive session rather than a batch run.

     EXAMPLES

     spss -m < command.sps >command.lst -s 1M
          A typical batch run.  Use command.sps for input, and
          write output to command.lst.  Use one megabyte of
          workspace.

     spss -m -t knj.lst
          Run interactively using the prompting interface,
          recording the terminal output in the file knj.lst.

     spss -s 500k
          A normal interactive session using the SPSS Manager,
          with 500 kilobytes of workspace.

     spss -c 'rsh goliath /usr/local/bin/spssrem'
          An interactive session in which the SPSS Manager runs
          on the local machine and the SPSS Processor runs on
          another machine named "goliath".


SEE ALSO

     SPSS Reference Guide, ...


     SPSS for Unix Operations Guide, ...

     SPSS Base System User's Guide,...

     SPSS Advanced Statistics User's Guide, ...

     The SPSS command HELP provides help on command meaning and
     syntax.

     The SPSS INFO command prints documentation on new features
     and Unix operation.  Type HELP INFO to learn about it.

     The SPSS Manager provides help about its own operation.
     Type ESC 1 or F1.


Back to: MetaSystem | Computing Center

UK Home Page