Use a wizard to create a CLP script that you can run later to register
an XML schema on a DB2 database.
Prerequisites:- Create a connection to an XML database in the Database Explorer.
- Create a data development project that is associated with this connection.
Restriction: This feature is supported for DB2 for Linux,
UNIX, and Windows, Version 9.1 or higher, only.
To create a CLP script
to register an XML schema:
- Right-click the XML Schema Documents folder
in a data development project in the Data Project Explorer and click Generate
CLP Registration Script from the pop-up menu.
- Complete the steps of the wizard. For additional help
with the wizard, press F1.
A temporary file containing the CLP script opens in the text editor.
You can modify the file in the editor, and save it to the file system by clicking , and
specifying a local directory. You can run the script outside of the workbench
to register the XML schema that you selected.