Working in Batch Mode

Working in batch mode typically involves:

  1. Invoking IBM® SPSS® Modeler in batch mode using the clemb command.
  2. Connecting to a server.
  3. Loading an existing stream or script file.
  4. Executing the stream or script.
Note: SPSS Modeler Batch requires 4GB of available memory.

Once execution is complete, you can then consult the log file produced by default in batch mode and view the results of graphs, output nodes, and models. For more information about these steps, see the following topics.

If only SPSS Modeler Batch is installed (not SPSS Modeler client), to run a stream containing a Statistics node, you also need to complete the following steps:
  1. Install SPSS Modeler Server and IBM SPSS Statistics Server on the same machine.
  2. Run a utility on the SPSS Modeler Server host machine to create the statistics.ini file, which tells IBM SPSS Statistics the installation path for SPSS Modeler Server. To run the utility, open a command prompt, change to the SPSS Modeler Server bin directory, and run the following command.
    On Windows:
    statisticsutility -location=<statistics_installation_path>/bin

    On Linux:

    ./statisticsutility -location=<statistics_installation_path>/bin
  3. Run the batch command. For example:
    clemb -server -hostname 9.30.51.42 -port 28181 -username xxxxxxxxx -password xxxxxxxx -stream 
    "c:\test\StatisticsOutputNode.str" -execute -log "c:\log\report.log"