IBM Support

PM38431: ENTITY REFERENCES IN LONG ATTRIBUTE VALUE ARE NOT REPLACED BY THEIR VALUES IN BINARY XML STREAM

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Entity references in long attribute value  are NOT replaced by
    their values in binary XML stream
    

Local fix

  • No Workaround
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS users of XML.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Entity references in long attribute     *
    *                      value are not replaced by their         *
    *                      values when SELECT/UNLOAD using         *
    *                      Extensible Dynamic Binary XML DB2       *
    *                      Client/Server Binary XML Format         *
    *                      (IBM defined binary XML format).        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During SELECT/UNLOAD using binary XML, the ending part of a
    long attribute value containing entity references(>16K) is not
    replaced by their values.
    
    This problem can be exposed by selecting the XML document
    inserted as follows:
    
    INSERT INTO CUSTOMER  (CUST_ID ,  XMLDOC)
     VALUES ( 12345678 ,
         XMLPARSE(DOCUMENT
                    CLOB('<A><B t="attribute value')
                 || CLOB(REPEAT('&quot;',5000))
                 || CLOB(REPEAT('&quot;',5000))
                 || CLOB(REPEAT('&quot;',5000))
                 || CLOB(REPEAT('&quot;',5000))
                 || CLOB(REPEAT('2',100))
                 || CLOB('">txt</B><C>c</C></A>'))
     );
    

Problem conclusion

  • The above DB2 10 for z/OS problem was fixed to handle the
    long attribute value correctly during SELECT/UNLOAD.
    
    Additional keywords: XMLALL SQLXML
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM38431

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-04

  • Closed date

    2011-07-06

  • Last modified date

    2011-09-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK69489

Modules/Macros

  • DSNNOBSC DSNNOBSE DSNNOBXS
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK69489

       UP11/08/04 P F108

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 September 2011