IBM Support

PI54056: WHEN SUBSYSTEM PARAMETER ACCELMODEL = YES, A REBIND OR EXPLAIN ISSUES SQLCODE=-118 FOR THE QUERY THAT CONTAINS FOR UPDATE

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When DB2 subsystem parameter/ zparm ACCELMODEL = YES, a REBIND
    or EXPLAIN ends with SQLCODE -118 if the query contains FOR
    UPDATE clause.
    .
    Keywords:
    IDAAV4R1/K SQLACCELMODEL
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 10 and DB2 11 for z/OS users that have   *
    *                 subsystem parameter ACCELMODEL set to YES.   *
    *                 DB2 10 and DB2 11 for z/OS users that use    *
    *                 query acceleration.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: An SQL statement incorrectly returns    *
    *                      SQLCODE -118 when subsystem parameter   *
    *                      ACCELMODEL is set to YES. Also, an      *
    *                      SQL statement with a FOR UPDATE clause  *
    *                      may be incorrectly considered as        *
    *                      eligible for acceleration.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An SQL statement incorrectly returns SQLCODE -118 when
    subsystem parameter ACCELMODEL is set to YES. Also, an SQL
    statement with a FOR UPDATE clause may be incorrectly considered
    as eligible for acceleration. This may result in ABEND04E
    RC00E70005 in DSNXEFDA M130 (caller is DSNXOPB).
    
    Keywords:
    ACCELMODEL SQLCODE118 SQLFORUPDATE IDAAV4R1/K IDAAV5R1/K
    ABEND04E
    

Problem conclusion

  • DB2 code is fixed to no longer consider an SQL statement with
    FOR UPDATE. SQLCODE -118 is no longer issued when subsystem
    parameter ACCELMODEL is set to YES.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI54056

  • 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

    2015-12-14

  • Closed date

    2016-01-25

  • Last modified date

    2016-03-02

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

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

    UI34730 UI34731

Modules/Macros

  •    DSNXONZO
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI34730

       UP16/02/09 P F602

  • RB10 PSY UI34731

       UP16/02/09 P F602

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.



Document information

More support for: DB2 for z/OS

Software version: B10

Reference #: PI54056

Modified date: 02 March 2016


Translate this page: