Loading data using the loading utilities
This diagram illustrates the basic steps involved in the loading process.
- The loading utilities require the WebSphere Commerce DTD file. If the DTD file is available, then go to the next step. Otherwise, use the DTDGenerator utility to generate a DTD file. The DTDGenerator uses a text file that contains the table names for which the description is required and the output DTD file name. The result will be a DTD file containing the description of the database tables.
- The WebSphere Commerce XML data file needs to be resolved for unique keys. This requires the idresgen utility, which uses the DTD file and the generated WebSphere Commerce XML to produce the output XML data file with resolved identifiers.
- The data from the resolved XML data file generated in the previous step is loaded into the WebSphere Commerce database using the massload utility. This utility uses the resolved XML file as the input and loads the data into the WebSphere Commerce database.
- Managed files are loaded separately using the fileloader utility.