Scripting language overview
The scripting facility for IBM® SPSS® Modeler enables you to create scripts that operate on the SPSS Modeler user interface, manipulate output objects, and run command syntax. You can run scripts directly from within SPSS Modeler.
Scripts in IBM SPSS Modeler are written in the scripting language Python. The Java-based implementation of Python that is used by IBM SPSS Modeler is called Jython. The scripting language consists of the following features:
- A format for referencing nodes, streams, projects, output, and other IBM SPSS Modeler objects.
- A set of scripting statements or commands that can be used to manipulate these objects.
- A scripting expression language for setting the values of variables, parameters, and other objects.
- Support for comments, continuations, and blocks of literal text.
The following sections describe the Python scripting language, the Jython implementation of Python, and the basic syntax for getting started with scripting within IBM SPSS Modeler. Information about specific properties and commands is provided in the sections that follow.