db2xdbmig - Migrate XSR objects command

Migrates all XML schema repository (XSR) objects that are enabled for decomposition to the current version and service level of the Db2® copy where you are running the command.

This command is located in the DB2DIR/bin directory, where DB2DIR represents the installation location where the current version of the Db2 database system is installed.

Authorization

CREATE, ALTER and DROP privileges on all of the XSR objects in the database.

Command syntax

Read syntax diagramSkip visual syntax diagramdb2xdbmig database-alias

Command parameters

database-alias
Specifies the alias of the database that contains the XSR objects.

Usage notes

  • The db2xdbmig command affects only decomposition-enabled XML schemas.
  • When migrating to Db2 Version 9.7 from a Db2 Version 9.1 GA or Fix Pack 1 copy, the UPGRADE DATABASE command implicitly runs the db2xdbmig command. You do not need to run this command in Db2 Version 9.7.