Verifying the installation

After IBM® SPSS® Collaboration and Deployment Services - Essentials for Python is installed, run an API command to verify that it is working properly.

Before you begin

IBM SPSS Collaboration and Deployment Services Repository against which the API command is run must be installed and available.

Procedure

  1. Verify that Python is included in the system path variable.
  2. Run the following command.
    python <Python installation directory>/Scripts/CADSTool.py createFolder --source <folder path>
     --host <host name> --port <port number> --user <user name> --password <password>
     --server_url <server url>
    Parameter Description
    --source The path of the folder to be created in the IBM SPSS Collaboration and Deployment Services Repository.
    --host IBM SPSS Collaboration and Deployment Services Repository host name or network address.
    --port IBM SPSS Collaboration and Deployment Services Repository port number.
    --user IBM SPSS Collaboration and Deployment Services Repository user name.
    --password IBM SPSS Collaboration and Deployment Services Repository user password.
    --server_url If IBM SPSS Collaboration and Deployment Services Repository URL includes a context root, the full URL.

    Example:

    python c:\Python24\Scripts\CADSTool.py createFolder --source "/Test" --host cds_host.mycompany.com
     --port 18000 --user admin --password password123

Results

If the command completes successfully and a corresponding message is displayed, IBM SPSS Collaboration and Deployment Services - Essentials for Python is installed correctly. For more information about the API, see IBM SPSS Collaboration and Deployment Services - Essentials for Python documentation.