massload utility (Development environment)
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 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.
Before you run this utility, ensure that you have complete the required configuration tasks:
Syntax
The syntax for the massload utility depends on which database you are using as the development database:
Parameter values
- XML file name
- The full path to the XML file that contains the data to be loaded into the development database.
- Host name
- The fully qualified host name of the machine that is hosting the development database.
- DB name
- The name of the database into which you are loading data.Note: For DB2 UDB databases, the DB2 Type 4 JDBC driver is used, where the Type 4 database name is prefixed with the database server and port. For example, db_server:db_port/db_name.
- DB user
- The ID of a database user authorized to connect to the database.
- DB pwd
- The password for the database user.
- DB schema
- The name of the database schema into which you are loading data. Specify the schema name in uppercase letters.