Activating projects
You activate projects from the command line by running the Activate program in either console or dialog box 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 "actdoc" [-u username] [-t ticketname] [-r] [-c] [-l] [-?]
Parameters
–a " actdoc "
Names 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 command-line activation only.
–r
Displays a progress box.
–c
Writes information to the screen.
–l
Displays a login dialog box.
–?
Displays help.
Dialog box mode
In dialog box mode, Activate displays a dialog box 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 pre-populate the dialog box with certain types of information, such as the project name or interview script type. When you have completed the dialog box, click Activate to start activation. This mode is ideal for creating new Activate Documents. To activate in this mode type:
activate -g [-p proj_ID] [-s script_type] [-f "foldername"] [-d DPMservername] [-w webservice URL] [-l] [-?]
Parameters
–g
Displays the Activate dialog box. 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 script_type
Interview script type. Must be set to Dimensions.
–f " foldername "
Pathname of the project's source folder.
–d DPMservername
Names the initial DPM server.
–w web-service URL
Activates via the web-service URL. For example:
http://<servername>/spssmr/activatewebservice
/activatewebservice.asmx
–l
Displays a login dialog box.
–?
Displays help.
See also