IBM Support

PM52922: ABND04E 00E20016 IN DSNSVSTK OFFSET0656 STORAGE INCREASE WHEN HAVING A SELECT WITH A HUGE IN-LIST OF LITERAL

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSNXOP0  03/08/11 UK65597 +00183C seens in Save area trace over
    and over (more than 100+ times).
    
    Query used:
    SELECT * FROM T1 WHERE C1 IN
    
    ('25070061010020334','25070055010022557','25070062010064507',
    ...);
    
    
    DSNXOP0 has allocated and logical freed the stack storage used.
    
    DB2 may use a large amount of stack storage when preparing an
    SQL statement with IN list predicate containing a large number
    of literal constants, host variables, parameter markers
    
    Keywords:
    
    
    DB2STGLK/K SQLINLIST INLIST
    

Local fix

  • rewrite query
    
    SELECT * FROM T1 WHERE CAST(C1 AS VARCHAR(19)) IN
    
    ('25070061010020334','25070055010022557','25070062010064507',
    ...);
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 9 for z/OS users of an SQL statement *
    *                 with an IN list predicate containing a large *
    *                 number of host variables, parameter markers  *
    *                 or literal constants in the type of big      *
    *                 integer, binary string or decimal float.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: ABEND04E RC00E20016 at the location     *
    *                      DSNSLD1.DSNSVSTK:+0656 could happen for *
    *                      an SQL statement with IN list predicate *
    *                      containing a large number of host       *
    *                      variables, parameter markers or literal *
    *                      constants in the type of big integer,   *
    *                      binary string or decimal float.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    ABEND04E RC00E20016 at the location DSNSLD1.DSNSVSTK:+0656 could
    happen for an SQL statement with IN list predicate containing a
    large number of host variables, parameter markers or literal
    constants in the type of big integer, binary string or decimal
    float.
    
    DB2 did not correctly process the aforementioned IN list
    predicate, which caused the ABEND.
    

Problem conclusion

  • DB2 has been modified to correctly process the aforementioned IN
    list predicate, so there will be no ABEND.
    
    Additional keywords: SQLIN SQLDECFLOAT SQLHOSTVAR
                         PARAMETERMARKER SQLPMARKER SQLPMK
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM52922

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-27

  • Closed date

    2011-12-30

  • Last modified date

    2012-02-02

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

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

    UK75160

Modules/Macros

  • DSNXOP0
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • R910 PSY UK75160

       UP12/01/19 P F201

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:
02 February 2012