massload utility
This utility loads an XML input file into a target database. Loading the XML file for populate and updates the WebSphere Commerce database. The massload utility allows column-level updates to a table. It also allows you to delete data from a database.
The massload utility only loads one file at a time.
AIX|I5/OS|Linux|Solaris|Windows:
The page covers the massload utility in the WebSphere Commerce development environment. For the massload utility in the WebSphere Commerce server environment, see massload utility (Server environment).
The massload utility required valid and well-formed XML as input to the database. In this input, element names correspond to table names and attributes of the element correspond to column names in the table.
The massload utility includes the following features:
- Error reporter
- The massload utility includes an error reporter that generates an exception document if there is an error.
- Product Advisor search-space synchronization
- If you enable the loading utilities' Product Advisor search-space synchronization feature, you can maintain near real-time synchronicity of Product Advisor search spaces and WebSphere Commerce catalog tables being updated by the massload utility.
Before running this utility, ensure that you have complete the required configuration tasks:
- Configure the loading utilities.
- Configure tracing and logging for the loading utilities.
- Configure the massload utility.
- Optional: Configure the MassLoadCustomizer.properties file.
Syntax
The syntax for the massload utility depends on which database you are using as the development database:
(DB2)
I5/OS:
(Oracle)
Parameter values
- XML file name
- The full path to the XML file containing the data to be loaded into the development database.
I5/OS: Host name
- The fully qualified host name of the machine hosting the development database.
- DB name
- The name of the database into which you are loading data.
- DB user
- The ID of a database user authorized to connect to the database.
- DB pwd
- The password for the database user.
(DB2) DB schema
- (Optional) The name of the database schema into which you are loading data. Specify the schema name in upper case letters.
Related concepts
Load utilities
Transforming, loading, and extracting data using the WebSphere Commerce loading utilities
Workspaces locking policiesRelated tasks
Configure the environment variable setting scripts
Configure the massload utility
Load data
Configure timestamp and date data handling
Examples: Deleting objectsRelated reference
Resolving identifiers for records that share identifiers with existing data
fileloader utility
dtdgen utility
massextract utility
idresgen utility (Server environment)
Example: Loading current timestamps
massload utility (Server environment)