San Diego State University logo

*Technical Briefs*
ROHAN help Files

----------------------------------------------------------------------

Running SPSS in Batch Mode

To run a command syntax file for SPSS in batch mode, at the ROHAN prompt, type:

rohan%  spss  -m  filename

The filename that follows the -m switch is assumed to be a command syntax file, regardless of its extension. You can use the -s switch to allocate workspace. The syntax command filenames must come last, as in:

rohan%  spss -m -s 1512 batchjob.sps

The following syntax rules apply to SPSS command files run in batch mode:

  1. Each command must begin in the first column of a new line.
  2. Continuation lines must be indented at least one space.
  3. The period at the end of the command is optional.
By default, SPSS sends the text-based output results to the window from which you executed the job. You can also direct the output to a file, at the ROHAN prompt type:

rohan%  spss  -m  batchjob.spss  >  batchjob.out

Please reduce the priority of long running SPSS jobs by using either the batch or the nice command. This greatly improves the response of the system while your job is running.

The system per process cpu limit is 120 minutes.
If you need longer run times, contact Ron Nash

----------------------------------------------------------------------


BACK ROHAN Help Index | Academic Computing Handouts, Manuals, and Help Files

This page last modified: December 12, 2002
Send comments/suggestions about this web page to webmaster@rohan.sdsu.edu

SDSU Faculty and Students may send questions about software on ROHAN or ROHAN UNIX problems to problems@rohan.sdsu.edu