Also specified are two smaller subroutines, ZPYSRC and CPYSRC, which give SPSS access to the Bourne shell scripting language and the C programming language. These help to make it easy to use SPSS as a scripting tool, offering many of the benefits of more commonly used scripting languages like Perl.
The SPSS programmability API comprises the API itself, a set of examples, and some sample SPSS module/plugins. It is released under a freeware license and can be used and modified in any SPSS programmability project. For a list of the API features, design principles, and a sample API program, read the API documentation. The API intentionally keeps the user interface as simple as possible, and the API program operates mainly through the standard SPSS modules - csr, ds, ls, etc. These module interfaces are available in the API, and the programmability API can be used to write program modules or new interfaces.
Parts such as programming interfaces and classes are presented in keeping with the rest of the R software package, with comprehensive documentation, examples, and documentation in HTML format. The final part of spss statistics 17.0 consists of the standard SPSS programmability functions, which are designed to be user-friendly to beginners, so that they do not need extensive programming skills to use. All of the standard SPSS programmability functions function in much the same way, and the API is generally the same for all Python and.NET-based program modules. Variables, functions, and their parameters and return values are the same as those in the standard SPSS programming language.
Additionally a "macro" language can be used to write command language subroutines. A Python programmability extension can access the information in the data dictionary and data and dynamically build command syntax programs. The Python programmability extension, introduced in SPSS 14, replaced the less functional SAX Basic "scripts" for most purposes, although SaxBasic remains available. In addition, the Python extension allows SPSS to run any of the statistics in the free software package R. From version 14 onwards, SPSS can be driven externally by a Python or a VB.NET program using supplied "plug-ins". (From Version 20 onwards, these two scripting facilities, as well as many scripts, are included on the installation media and are normally installed by default.) d2c66b5586