Changing the temp directory

Some operations that are done by IBM® SPSS® Modeler Server might require temporary files to be created. By default, the IBM SPSS Modeler uses the system temporary directory to create temp files. You can alter the location of the temporary directory using the following steps.

  1. Create a new directory called spss and subdirectory called servertemp.
  2. Edit options.cfg, located in the /config directory of your IBM SPSS Modeler installation directory. Edit the temp_directory parameter in this file to read: temp_directory, "C:/spss/servertemp".
  3. Restart the IBM SPSS Modeler Server service. You can do this by clicking the Services tab on your Windows Control Panel. Stop the service and then start it to activate the changes you made. Restarting the machine also restarts the service.

All temp files now get written to this new directory.

Note: Forward slashes must be used.

Temp directory for data view

For data view service, complete the following steps to configure the temporary directory.
  1. Create the temp directory D:/SPSSTemp.
  2. The data view temp files are controlled by -Djava.io.tmpdir=D:/SPSSTemp. Add this option to the start script for data view in the following file: ${ModelerInstallDir}/dataview/start_graph_micro_service.sh.
  3. Start the IBM SPSS Modeler.

Files now get written to D:/SPSSTemp.