The Loader package allows you to customize Product Advisor search-space synchronization by doing the following:
- Create a new Loader customizer property file.
MassLoadCustomizer.properties is located in the MassLoader.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 /QIBM/ProdData/CommerceServer56/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 Loader customizer property file.
- Specify the new file name as the value of the customizer parameter of the Load command.
By modifying the Loader customizer property file, you can:
- Enable or disable synchronization
You can enable or disable synchronization by specifying true or false as the value for the following property in the Loader 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 Loader 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 Loader 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 Loader customizer property file.
Note: 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