IBM Support

PI67416: THIS APAR IS FORWARD FIT FOR V11 APAR PI64302

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • * PROBLEM DESCRIPTION: Infinite loop could happen for an       *
    
    
    *                      SQL statement satisfying all of the     *
    
    
    *                      following conditions:                   *
    
    
    *                      1. An index is created on the xml       *
    
    
    *                      column.                                 *
    
    
    *                      2. It contains an XMLTABLE function.    *
    
    
    *                      3. It contains a predicate that         *
    
    
    *                      reference the XMLTABLE column and       *
    
    
    *                      a special register.                     *
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 11 for z/OS users of an SQL statement containing an  *
    * XMLTABLE with a local predicate that references a special    *
    * register.                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Infinite loop could happen for an SQL statement satisfying   *
    * all of the following conditions:                             *
    *                                                              *
    *  1. An index is created on the xml column.                   *
    *                                                              *
    *  2. It contains an XMLTABLE function.    *                   *
    *                                                              *
    *  3. It contains a predicate that reference the XMLTABLE      *
    * column and a special register.                     *         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An example is shown below:
    
    
    
    
    
    CREATE TABLE T1 ( C1   BIGINT, C2   XML );
    
    
    CREATE INDEX IX01.T1
    
    
      ON T1 (C2)
    
    
        GENERATE KEY USING XMLPATTERN
    
    
           '//abc'
    
    
      AS SQL TIMESTAMP(12)
    
    
     ;
    
    
    
    
    
    SELECT S.C1
    
    
      FROM T1 AS S ,
    
    
           XMLTABLE('customer' PASSING S.C2
    
    
                 COLUMNS  C1   TIMESTAMP PATH 'abc'
    
    
                    ) AS XT
    
    
       WHERE XT.C1 <= CURRENT TIMESTAMP
    
    
      ;
    
    
    
    
    
    DB2 did not correctly process the aforementioned SQL statement
    
    
          and resulted in an infinite loop and system outage.
    

Problem conclusion

  • DB2 has been modified to correctly process the aforementioned
    
    
          SQL statement.
    
    
    
    
    
          Additional Keywords: SQLSPECIALREG SQLXML SQLPREDPUSHDOWN
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI67416

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-11

  • Closed date

    2017-01-24

  • Last modified date

    2017-03-02

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

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

    UI44174

Modules/Macros

  • DSNXOMCH DSNXOIDX DSNXQMCH DSNXOCXF DSNXOXRW
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI44174

       UP17/02/10 P F702

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

Document Information

Modified date:
02 March 2017