Activating projects
You activate projects from the command line by running the Activate program in either console or dialog mode. In both cases you must run the command from:
C:\Program Files\Common Files\IBM\SPSS\DataCollection\<version>Interviewer Server\
Console mode
In console mode, activation is based solely on the contents of the Activate Document named on the command line, and is ideal for activating remotely or on an unattended computer. To activate in this mode type:
activate -a "<activate_document>" [-u <username>] [-t <ticket>] [-r] [-c] [-l] [-?]
Parameters
–a "<activate_document>"
Name of the Activate Document.
–u <username>
The user name to use for activating the document. If none is specified, the activation process uses the name specified in the Activate document. (It is recommended that names are not stored in Activate documents.) If there is no name or user ticket specified in the Activate document, the activation process tries to log in as a trusted Windows user.
–t <ticket>
The user ticket to use for activating the document. (It is recommended that tickets are not stored in Activate documents.) This option is valid for only command-line activation.
–r
Displays a progress box.
–c
Writes information to the screen.
–l
Displays a login dialog.
–?
Displays help.
Dialog mode
In dialog mode, Activate displays a dialog in which you specify the activation parameters (this is the mode in which Activate runs in UNICOM Intelligence Professional). You can include options on the command line that populate the dialog with information, such as the project name or interview script type. When you have completed the dialog, click Activate to start activation. This mode is ideal for creating new Activate Documents. To activate in this mode type:
activate -g [-p <project_id>] [-s Dimensions] [-f "<folder>"] [-d <dpm_server>] [-w <webservice_url>] [-l] [-?]
Parameters
–g
Displays the Activate dialog. Use this option when you want to create an Activate document. If this option is not present, -a is required.
–p <project_id>
The project ID.
–s Dimensions
Interview script type. Must be set to Dimensions.
–f "<folder>"
Pathname of the project's source folder.
–d <dpm_server>
The initial DPM server.
–w <webservice_url>
Activates via the web-service URL. For example:
http://myserver/spssmr/activatewebservice
/activatewebservice.asmx
–l
Displays a login dialog.
–?
Displays help.
See also