PM37884: ABEND04E RC00E20029 AT DSNXOTS .DSNSVBK OFFSET09FA WHEN A SQL QUERY CONTAINS A LOT OF OR PREDICATES 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 RC00E20029 at DSNXOTS DSNSVBK offset09FA or
    ABEND04E RC00E20028 at DSNSLD1 DSNSVSTK offset0304
    when a SQL statement contains many OR predicates. The SQL
    statement has the following form:
       SELECT DISTINCT  COl1, COL2,.... INTO V1 CHAR, V2 CHAR,.....
    FROM TABLE1 WHERE COL1 IN (aaa) AND
    AND (COL2 LIKE '111111%',OR   COL2 LIKE '222222%'OR
    OR   COL2 LIKE '333333%',......).   There are more than 220 OR
    predicates when the abend occurred.
    

Local fix

  • The problem can be bypassed by replacing the OR predicates
    with an IN_LIST.
    .
    L2 Diagnostics information:
    The upper block of the storage block is overlaid with all
    zeros. Calling chain contains modules with prefix DSNXO.
    Check the SQL statements for vast number of OR predicates
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 for z/OS with queries       *
    *                 containing a very large number of            *
    *                 OR predicates                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: ABEND04E RC00E20029 at DSNSVBK+09FA     *
    *                      when a query contains a very large      *
    *                      number of OR predicates.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    ABEND04E RC00E20029 at DSNSVBK+09FA can occur when a query
    contains a very large number of OR predicates.  DSNSVBK is
    being called by DSNXOTS when this occurs.  A miscalculation
    of the storage allocated during query optimization for
    such queries with many OR predicates results in a storage
    overlay and an abend.
    
    Additional Keywords:
    SQLOR SQLSTORAGE DB2OVRLAY/K
    

Problem conclusion

  • Code is corrected for the calculation so that the overlay will
    not occur.
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    PM37884

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-27

  • Closed date

    2011-07-27

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

    UK70192 UK70193 UK70194

Modules/Macros

  •    DSNXOTS  DSNXOTSS
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK70192

       UP11/08/11 P F108

  • R810 PSY UK70193

       UP11/08/11 P F108

  • R910 PSY UK70194

       UP11/08/11 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.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for z/OS

Software version:

810

Reference #:

PM37884

Modified date:

2011-09-01

Translate my page

Machine Translation

Content navigation