IBM Support

PM33341: ABEND04E RC00E20005 AND VARIOUS OTHER SYMPTOMS FROM STORAGE OVERLAY WHEN USING XMLELEMENT FUNCTION. DB2OVRLAY/K

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abend04E RC00E20005 at DSNNXCMT.DSNSVSVB UK40503 offset08F2
    Abend0C4 RC00000011 at DSNSLD4 .DSNSVSVB UK40503 offset0E00
    Other symptoms may be possible depending on what storage
    block was overlaid.
    The overlay occurred when the length of the input argument
    data to the XMLELEMENT is between 4069 and 4096 bytes.
    The problem will also occur for other XML functions:
      XMLATTRIBUTE, XMLCOMMENT, XMLCONCAT,
      XMLFOREST, XMLNAMESPACES, XMLPI and XMLTEXT.
    keywords: DB2OVRLAY/K smcoverlay xml
    

Local fix

  • Use length that is less than 4075 bytes or greater than
    4096 bytes
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 9 for z/OS and DB2 10 for z/OS           *
    *                 users of XML                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Storage overlay occurred when an        *
    *                      XMLELEMENT function was executed.       *
    *                                                              *
    *                        ABEND04E RC00E20005                   *
    *                        DSNNXCMT.DSNSVSVB+08F2                *
    *                                                              *
    *                        ABEND0C4 RC00000011                   *
    *                        DSNSLD4.DSNSVSVB+0E00                 *
    *                                                              *
    *                        ABEND04E RC00E2000F                   *
    *                        S.DSNSVSFB+0846                       *
    *                                                              *
    *                      Various abends can occur depending on   *
    *                      the storage that is overlaid.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Storage overlay occurred when a SQL statement with an
    XMLELEMENT function was executed.  The storage overlay
    occurs when the length of the input argument to the
    XMLELEMENT function is between 4070 and 4095 bytes.
    An example of a SQL statement that has the problem is
    the following:
    
     SELECT LENGTH(XMLSERIALIZE(
              XMLELEMENT(NAME "element1",
                         REPEAT('A',4070))
                                AS CLOB(1M)))
     FROM SYSIBM.SYSDUMMYU
    
    The XMLATTRIBUTES, XMLCOMMENT, XMLCONCAT, XMLDOCUMENT,
    XMLFOREST, XMLNAMESPACES, XMLPI and XMLTEXT functions have
    the same problem when the length of the input argument is
    between 4070 and 4095 bytes.
    

Problem conclusion

  • DB2 is fixed to handle the input argument for the XML
    functions correctly.
    
    Additional keywords: SQLXML XMLALL SMCOVERLAY
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM33341

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-22

  • Closed date

    2011-03-14

  • Last modified date

    2011-08-19

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

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

    UK65746 UK65747

Modules/Macros

  • DSNXXGEN
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK65746

       UP11/03/29 P F103

  • R910 PSY UK65747

       UP11/03/29 P F103

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":"9.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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 August 2011