IBM Support

PH09421: ABEND04E RC00E70005 AT DSNXGDT2 M201 MAY OCCUR FOR A QUERY CONTAINING A SUBQUERY PREDICATE WITH A BIGINT CONSTANT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ABEND04E RC00E70005 AT DSNXGDT2 M201 MAY OCCUR FOR A QUERY
    CONTAINING A SUBQUERY PREDICATE WITH A BIGINT CONSTANT
    SELECT COUNT(*) FROM SYSIBM.SYSDUMMY1
     WHERE 201801110000000021 = (SELECT C1 FROM T1)
    ;
    Additional keywords: SQLSUBQUERY
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 11 and Db2 12 for z/OS               *
    *                 users of SQL statement that                  *
    *                 contains a subquery predicate                *
    *                 referencing a BIGINT literal                 *
    *                 constant and DECFLOAT data.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Abend RC00E70005 at DSNXGDT2 M201       *
    *                      may occur for an SQL statement that     *
    *                      satisfies all the following             *
    *                      conditions:                             *
    *                      1. The SQL statement contains a         *
    *                      subquery predicate.                     *
    *                      2. The subquery predicate               *
    *                      references a BIGINT literal constant    *
    *                      and a DECFLOAT expression.              *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available.         *
    ****************************************************************
    For Example,
    
     CREATE TABLE T1 (C1 DECFLOAT);
     SELECT COUNT(*) FROM SYSIBM.SYSDUMMY1
         WHERE 201801110000000024 = (SELECT C1 FROM T1);
    
    An abend RC00E70005 at DSNXGDT2 M201 may occur for the SQL
    statement above because Db2 did not handle the BIGINT constant
    correctly when it is compared with DECFLOAT column C1.
    

Problem conclusion

  • Db2 was fixed to handle BIGINT constant correctly when it is
    compared with DECFLOAT data in a subquery predicate.
    
    Additional Keywords:  SQLDECFLOAT SQLBIGINT SQLINSUBQ
                          SQLSUBQUERY BIGINTEGER BIGINT
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH09421

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-06

  • Closed date

    2019-05-07

  • Last modified date

    2019-06-03

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

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

    UI62871 UI62872

Modules/Macros

  •    DSNXOW2F
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI62872

       UP19/05/23 P F905

  • RC10 PSY UI62871

       UP19/05/22 P F905

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

Document Information

Modified date:
03 June 2019