IBM Support

PI67742: ABEND0C4 RC04 DSNXOOS1 OFFSET44B0 CAN OCCUR FOR AN SQL STATEMENT THAT REFERENCES A VIEW COLUMN WITH XML DATA TYPE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ABEND0C4 RC04 DSNXOOS1 OFFSET44B0 can occur for an SQL
    statement that references a view column with an XML data type
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 10 or 11 for z/OS users of an SQL                    *
    * statement containing a view with an XML                      *
    * function and CTE or a table expression.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Abend could happen for an SQL                                *
    * statement satisfying all of the                              *
    * following conditions:                                        *
    * 1. It contains a view with a                                 *
    * materialized CTE or a materialized                           *
    * table expression.                                            *
    * 2. The view contains an XML function                         *
    * in the select list.                                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An example is shown below:
    
    CREATE TABLE T2 (C1 INT, C2 VARCHAR(50));
    
    CREATE VIEW V1 AS
    WITH CTE1(C1, C2, C3) AS
      (SELECT C3, C2, RAND() FROM T3)
    SELECT CTE1.C1, xmlquery('//Item' passing CTE1.C2 ) as C2
    FROM CTE1;
    
    SELECT * FROM V1;
    
    DB2 did not correctly process the aforementioned SQL statement
    and resulted in an ABEND.
    

Problem conclusion

  • DB2 has been modified to correctly process the aforementioned
    SQL statement.
    
    Additional Keywords: SQLXML SQLVIEW SQLCTE SQLTABLEEXPR
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI67742

  • 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-18

  • Closed date

    2016-10-03

  • Last modified date

    2016-11-02

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

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

    UI41392

Modules/Macros

  • DSNXOOS1
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI41392

       UP16/10/19 P F610

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 November 2016