Previous Topic: Before You Use the ToolNext Topic: Managing Cases


Using the Tool

This tool is available at the following location:

On Windows:

<install_location>\Arcot Systems\bin\

On UNIX Platforms:

<install_location>/arcot/bin/

This tool uses the database information in the arcotcommon.ini file to connect to the RiskMinder database and uses the username and password specified in the securestore.enc file to authenticate to the database.

Syntax:

Run the following command to use the tool:

arrfupload <option>

Important! The Quova information that you upload by using this tool is not available until you refresh the RiskMinder Server cache. For instructions on refreshing the cache, see "Refreshing the Cache".

The following table lists the options supported by the utility.

Options

Description

-help

Lists all options supported by the tool, followed by the brief usage of the option.

-config

This option is used to read information from riskfortdataupload.ini (the configuration file used by the tool) and perform the required action.

This option uses the following flags:

  • Tables: The set of tables the user wants to update. The values allowed are either Geopoint or Anonymizer. If neither is specified, then no data is uploaded. This option does not have any default value.
  • Load: If set to 1, it indicates that the data will be uploaded and if set to 0, it indicates that data will not be uploaded. The default is value is 0.

    Important! If set to 1, the Filename and Tables flags must be set.

  • Swap: If set to 1, it indicates that the table will be swapped and if set to 0, it indicates that the table will not be swapped. The default value is 0.

    Important! This flag is valid only if the Tables flag is set correctly. Also, you must refresh the RiskMinder Server cache to use the new table.

  • Filename: Indicates the name and the path of the Quova file that contains the data to be uploaded.

    Important! This flag is valid only if the Load flag is set to 1.

-tnames

This option is used to display the current ARQGeoPoint and ARQGeoAnonymizer tables being used by the RiskMinder database.

-prompt

This option is used to display an interactive command-line menu that enables the user to select the table (ARQGeoPoint or ARQAnonymizer) that they want to update by using the latest Quova data. Based on the table specified by the user, a submenu with the following options appears:

  • Load Quova Data: Depending on the set of tables chosen from the main menu, this option enables the data to be loaded in to the specified table. You must specify the name of the file from which Quova data has to be loaded and the path where this file is available.
  • Swap Quova Tables: Depending on the set of tables chosen from the main menu, this option enables the user to swap tables.
  • Exit to the previous menu: Enables the user to access the main menu.
  • Exit the program: Enables the user to exit from the tool.

-prompt <<Table name> <Load> <Swap> <Absolute path of the file>> [<Table name> <Load> <Swap> <Absolute path of the file>]

This option is used to set up a scheduled task to upload both GeoAnonymizer and GeoPoint data.