Administer > Product Advisor search-space synchronization


Customize Product Advisor search-space synchronization

The loading utilities allow you to customize Product Advisor search-space synchronization.


Procedure

  1. Create a new massload utility customizer property file.

    MassLoadCustomizer.properties is located in the massload.zip archive. Extract this file, rename it but keep the .properties extension, and place it in a directory that is in the classpath.

    Do not remove or modify the existing MassLoadCustomizer.properties file.

    ISeries_LODWCSDTA_Customizer.properties is located in the WC_INSTALL/properties directory. Copy this file to the WC_USER/instances/ instance.xml directory, rename the new file but keep the .properties extension, then make any necessary changes to the new file. Do not remove or modify the original ISeries_LODWCSDTA_Customizer.properties file.

  2. Modify the values of the properties specified in the new massload utility customizer property file.

  3. New file name as the value of the customizer parameter of the Load command.

  4. By modifying the massload utility customizer property file, you can:

    Option Description
    Enable or disable synchronization You can enable or disable synchronization by specifying true or false as the value for the following property in the massload utility customizer property file:

      PASyncEnabled = true
    

    Specify the configuration-information file for the synchronization You can specify which XML configuration-information file the synchronization uses by setting the value for the following property in the massload utility customizer property file:

      PASyncDocumentURL = PASyncInfo.xml
    

    Specify the schedule query length You can specify the schedule query length by setting the value for the following property in the massload utility customizer property file:

    PAScheduleQueryLength = 30
    

    The value for this property should be within the range of 20 through 900.

    Specify the scheduled start time You can specify the scheduled start time by specifying an absolute timestamp, a current timestamp, or a current timestamp with duration as the value for the PAScheduledStartTime property in the massload utility customizer property file.

    The format of the timestamp must be appropriate for the database.

    Here is an example for DB2 that will run the scheduled job 5 minutes after the load:

      PAScheduledStartTime = CURRENT TIMESTAMP + 5 MINUTES
    

    Here is an example for the Oracle database that will run the job immediately:

      PAScheduledStartTime = SYSDATE
    


Related concepts

Overview of the mass load utilities

Product Advisor


Related tasks

Use Product Advisor search-space synchronization

Related reference

Product Advisor search-space synchronization


+

Search Tips   |   Advanced Search