Load massload-formatted data
The Data Load utility is backwards-compatible and can read data formatted for the discontinued mass load utilities. If you have large quantities of data in the mass load utilities document type definition (DTD) format, we can easily load it using Data Load.
About this task
The Data Load utility is a command line loading utility that has greater validation functions than the massload utility. The Data Load utility performs the following functions within a single operation:
- Reads data from a source.
- Transforms the source data to WebSphere Commerce business objects.
- Allocates and resolves WebSphere Commerce business objects to physical data.
- Loads the physical data into the database.
See Overview of the Data Load utility.
Procedure
- Update the environment file, /opt/WebSphere/CommerceServer90/dataload/massload/wc-dataload-env.xml.
- Update the wc-dataload.xml file, add the input data path into the DataSourceLocation, for example /opt/WebSphere/CommerceServer90/dataload/massload/wc-dataload.xml.
- Run the dataload utility to load the data.
./dataload.sh /opt/WebSphere/CommerceServer90/dataload/massload/wc-dataload.xml