Skip to main content

Using the Command-line Interface to Connect to a Model

To use the Varicent Incentives command-line interface (CLI) to connect to a model, you must know the model name, username, and password (if a password was set).

  1. Open the command prompt window.

  2. Navigate to the directory where the CLI is located.

    For example, type cd C:\Program Files\IBM Incentives\CLI.

  3. From the command line, type this command:

    "IBM Incentives Command Line Tool.exe" -host "<host name>" -model "<model name>" -username "<username>" -password "<password>" -function "<command>"

    Where

    <host name> is the name of the location of the Incentives application.

    <model name> is the name of the database that contains the model.

    <username> is the username that is used to log in to the model.

    <password> is the password that is used to log in to the model. If no password is set up for the user, omit the <password> component.

    <command> is a command-line interface command. The list of commands is available at Command-line Interface Commands.