IBM Support

PI96981: SQLCODE -904 IS ISSUED WHEN AN SQL ROUTINE DEFINED IN DB2 12 IS INVOKED IN DB2 11

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQLCODE -904 is issued when an SQL routine defined in Db2 12
    is invoked in Db2 11.
    SQLCODE904
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 11 and 12 for z/OS users.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: In a Db2 data-sharing coexistence       *
    *                      environment, SQLCODE -904 with REASON   *
    *                      00E30305 and TYPE OF RESOURCE 00000801  *
    *                      is issued when an SQL routine defined   *
    *                      in the higher release of Db2 is invoked *
    *                      in the lower release of Db2.            *
    *                                                              *
    *                      The same problem happens when an SQL    *
    *                      routine defined in a higher release of  *
    *                      Db2 is invoked in the fallback release  *
    *                      of Db2.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In a Db2 data-sharing coexistence environment, SQLCODE -904 with
    REASON 00E30305 and TYPE OF RESOURCE 00000801 is issued when an
    SQL routine defined in the higher release of Db2 is invoked in
    the lower release of Db2.
    
    The same problem happens when an SQL routine defined in a higher
    release of Db2 is invoked in the fallback release of Db2.
    
    Additional Keywords: SQLCODE904 SQLNATIVESQLPL DB2COEXIST/K
    

Problem conclusion

  • Db2 has been changed to fix the problem in this APAR. The -904
    SQLCODE does not occur anymore.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI96981

  • 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

    2018-04-19

  • Closed date

    2018-08-14

  • Last modified date

    2018-09-04

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

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

    UI57859 UI57860

Modules/Macros

  •    DSNTBAB2
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI57860

       UP18/08/29 P F808

  • RC10 PSY UI57859

       UP18/08/29 P F808

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:
04 September 2018