Db2 XML schema repository tables

The Db2 for z/OS® XML schema repository (XSR) is a set of Db2 tables where you can store XML schemas.

Db2 creates the XSR tables during installation or migration. After you add XML schemas to the Db2 XSR, you can use them to validate XML documents before you store them in XML columns.

An XML schema consists of a set of XML schema documents. To add an XML schema to the Db2 XSR, you register XML schema documents to Db2. The XML schema documents must be in the Unicode encoding scheme.

Programming interface information

Not all XSR table columns are part of the general-use programming interface. Whether a column is part of this interface is indicated in a column labeled Use in the row that describes the table column. The meaning of the values for the Use column is indicated in the following table.

Table 1. Meaning of values in the Use column if table descriptions
Value Meaning
G Column is part of the general-use programming interface
S Column is part of the product-sensitive interface
I Column is for IBM® use only
N Column is not used

For columns for which Use is N or I, the name of the column and its description do not appear in the explanation of the column.