Activating projects
You activate projects from the command line by running the Activate program in either console or dialog mode. In both cases you musts run the command from:
C:\Program Files\Common Files\IBM\SPSS\DataCollection\<version>\ Interviewer Server
In console mode
In console mode, activation is based only on the contents of the Activate Document named on the command line, and is ideal for activating remotely or on an unattended computer.
Syntax
activate -a "actdoc" [-u username] [-t ticketname] [-r] [-c]
[-l] [-?]
Optional 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 that is 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
Display a progress box.
–c
Write information to the screen.
–l
Display a login dialog.
–?
Display help.
In 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. Click Activate to start activation. This mode is ideal for creating new Activate Documents.
Syntax
activate -g [-p proj_ID] [-s script_type] [-f "foldername"]
[-d DPMservername] [-w webservice URL] [-l] [-?]
Optional 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 script_type
Interview script type. Must be set to UNICOM Intelligence.
–f " foldername "
Pathname of the project’s source folder.
–d DPMservername
Names the initial DPM server.
–w web-service URL
Activate via the web-service URL. For example:
http://<servername>/spssmr/
activatewebservice/
activatewebservice.asmx
–l
Display a login dialog.
–?
Display help.
See also