Shredding XML documents from an MQ message queue

When you retrieve XML data from an MQ message queue, you can shred that data into Db2 tables for easy retrievability.

About this task

Procedure

To shred XML documents from an MQ message queue:

  1. Retrieve the XML document from an MQ message queue by using the appropriate MQ function.
  2. Shred the retrieved message to Db2 tables by using the XML decomposition stored procedure (XDBDECOMPXML).