Indiana University
University Information Technology Services
  
What are archived documents?

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 information 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.

Also see:

This is document aflx in domain all.
Last modified on January 07, 2009.
Please tell us, did you find the answer to your question?