Updating Lookup Manager data from CSV files and database

When you use at least one ITE application together with the Lookup Manager, which provides enrichment data, you need to update the enrichment data to track changes in there. In the case described here you are using CSV files and a database as data sources.

Before you begin

Compile the Lookup Manager by using a LookupMgrCustomizing.xml file that contains all data source definitions, all segments with appropriate ITE applications, the required mapping to a access specification in the connections.xml file and the indexes that are defined in the CSV input files.

In your command file you use the update command.

Ensure that the database is up and running.

The ITE and Lookup Manager applications are already running in an IBM Streams instance.

About this task

Update the Lookup Manager’s enrichment data from CSV files and database.

Procedure

  1. Create your CSV enrichment data files that contain the changes and move them to the directory configured with lm.file.directory
  2. Create the command file that contains the update command and affected segments. Remember to use file_ prefix or _file postfix for command if you use CSV files as source. Move the file into the directory that is configured with lm.commandsDirectory.

  3. Monitor the states of your jobs with the Streams Console

  4. When the applications are in RUN state, your update finished successfully and you can use your applications