Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

ARCHIVED: In SPSS in Unix, how do I change the default work directory where temporary files are stored?

Your SPSS job may require SPSS to create temporary system files that exceed the capacity of the default work directory assigned to SPSS. If this happens, you must give SPSS more space in which to work by changing the default SPSS work directory and redirecting the output to another directory. To do this, you need to modify the SPSSTMPDIR environment variable. The command to use depends on the type of shell you are using:

  • To change the default directory from /tmp to the /scr directory for Unix accounts using the csh and tcsh shells, enter the following line at the Unix prompt: setenv SPSSTMPDIR /scr/$USER
  • For the ksh and bash shells, enter: SPSSTMPDIR=/scr/$USER ; export SPSSTMPDIR

Keep in mind that the default work directory is already set to /tmp. This directory will typically have more space than the /scr directory, so changing work directories might not solve your problem. If, however, you use a df command and find that there is more space on /scr than /tmp, this procedure should solve your problem.

For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

This is document aflx in domain all.
Last modified on March 22, 2010.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.