Additional steps for enabling the stored procedures and objects for XML schema support

DB2® for z/OS® provides several stored procedures that you can call in your application programs to perform XML schema registration and removal.

Before you begin

Begin general-use programming interface information.
Start of changeBefore you complete this step, set up WLM application environments for the stored procedures for XML support, and either install the DB2-supplied routines during migration or install the DB2-supplied routines during installation.End of change

About this task

DB2 provides the following stored procedures for XML schema support:

  • SYSPROC.XSR_REGISTER
  • SYSPROC.XSR_ADDSCHEMADOC
  • SYSPROC.XSR_COMPLETE
  • SYSPROC.XSR_REMOVE

DB2 provides the following tables for XML schema support:

  • SYSIBM.XSRANNOTATIONINFO
  • SYSIBM.XSRCOMPONENT
  • SYSIBM.XSROBJECTCOMPONENTS
  • SYSIBM.XSROBJECTHIERARCHIES
  • SYSIBM.XSROBJECTGRAMMAR
  • SYSIBM.XSROBJECTPROPERTY
  • SYSIBM.XSROBJECTS
  • SYSIBM.XSRPROPERTY

Procedure

To enable the stored procedures and objects for XML schema support:

Install Java support.

The XSR_COMPLETE stored procedure is a Java stored procedure and therefore requires Java support.