Customizing Product Advisor search-space synchronization
The loading utilities allow you to customize Product Advisor search-space synchronization.
Procedure
- 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. Important: Do not remove or modify the existing MassLoadCustomizer.properties file.
ISeries_LODWCSDTA_Customizer.properties
is located in the WC_installdir/properties directory.
Copy this file to the WC_userdir/instances/ instance_name/xml
directory, rename the new file but keep the .properties extension,
then make any necessary changes to the new file. Important: Do
not remove or modify the original ISeries_LODWCSDTA_Customizer.properties
file. - Modify the values of the properties specified in the new massload utility customizer property file.
- Specify the new file name as the value of the customizer parameter of the Load command.
- 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 = trueSpecify 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.xmlSpecify 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 = 30The 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 your 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