IBM Support

PI05283: SQLCODE950 OCCURS WHEN INSERT WITH SUBSELECT SQL USING A 3-PART REMOTE TABLE AND QUERY_ACCELERATION/GET_ACCEL_ARCHIVE ENABLED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQLCODE950 occurs when an INSERT with subSELECT SQL stmt using a
    3-part remote table name and QUERY ACCELERATION (zparm or
    special register) = ENABLE, ENABLE WITH FAILBACK, ELIGIBLE or
    ALL OR GET ACCEL ARCHIVE (zparm or spec register = YES.)
    
    ADDITIONAL SYMPTOMS/KEYWORDS:
    =============================
    SQLCODE950(-950)
    QUERY_ACCELERATION
    GET_ACCEL_ARCHIVE
    subSELECT
    

Local fix

  • QUERY_ACCELERATION=NONE and GET_ACCEL_ARCHIVE=NO
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 10 for z/OS who use         *
    *                 IBM DB2 Analytics Accelerator.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: This APAR has the following fixes:      *
    *                      (1) An SQLCODE -950 is incorrectly      *
    *                          returned for an INSERT with         *
    *                          subselect that has a three part     *
    *                          name.                               *
    *                      (2) When zparm ACCELMODEL=YES,          *
    *                          GET_ACCEL_ARCHIVE=YES is            *
    *                          incorrectly allowed.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    (1) An SQLCODE -950 is incorrectly returned for an INSERT
        with subselect that has a three part name for remote
        tables when QUERY_ACCELERATION=ENABLE,
        ENABLE_WITH_FAILBACK, ELIGIBLE or ALL, or
        GET_ACCEL_ARCHIVE = YES.
        Execution of an SQL statement with a three part name on
        an accelerator is not supported, so the SQL statement
        will either execute on DB2 or return SQLCODE -4742
        depending on the values of QUERY_ACCELERATION and
        GET_ACCEL_ARCHIVE.
    
    (2) When subsystem parameter ACCELMODEL is set to YES, the
        subsystem parameter GET_ACCEL_ARCHIVE must be undefined or
        set to NO.  If GET_ACCEL_ARCHIVE is set to YES, then none
        of the accelerator modeling function will be enabled.
    
    Keywords:
    IDAAV3R1/K SQLCODE950 SQLINSERT SQLACCELMODEL SQLINSWSELECT
    IDAAV4R1/K
    

Problem conclusion

  • (1) Code is fixed to handle an SQL statement with a three part
        name properly.
    (2) Code is fixed to disallow setting zparm GET_ACCEL_ARCHIVE
        to YES when ACCELMODEL is set to YES.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI05283

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-31

  • Closed date

    2013-11-21

  • Last modified date

    2014-01-02

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

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

    UI12803

Modules/Macros

  • DSNXODML DSN6SPRM
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI12803

       UP13/12/07 P F312

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

Document Information

Modified date:
02 January 2014