IBM Support

PH32340: AN SQLCODE805 ON PREVIOUS TRANSACTION CAN CAUSE A SUBSEQUENT STATEMENT TO FAIL IF THE TRANSPORT WAS REUSED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AN SQLCODE -805 ON PREVIOUS TRANSACTION CAN CAUSE A SUBSEQUENT
    STATEMENT TO FAIL IF THE TRANSPORT WAS REUSED
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Db2 12 for z/OS Distributed Data                         *
    * Facility (DDF) users.                                        *
    * Specifically, SQLJ applications using IBM                    *
    * Data Server Driver for JDBC and SQLJ using                   *
    * client-side license in the CLASSPATH                         *
    * (db2jcc_license_cisuz.jar) and configured                    *
    * for Sysplex Workload Balancing.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Static Statement in an SQLJ                                  *
    * application failed (erroneously)                             *
    * without generating an error or                               *
    * exception during transport reuse in a                        *
    * Sysplex Workload Balancing                                   *
    * environment.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    SQLCODE +100 (Row Not Found) erroneously issued by an SQLJ
    application. Problem occurs when all of following conditions
    are true:
    - An SQLCODE -805 (package DB2LIC.SYSLIC not found) error had
      occurred on the transport during the previous transaction.
    - During workload balancing, a transport was reused.
    - SET statements replayed during transport reuse included
      global variables.
    While parsing the received global variables Db2 erroneously
    restored the error condition from previous transaction. This
    caused the current statement (SELECT INTO) to fail.
    

Problem conclusion

  • Db2 has been changed to parse received global variables without
    being influenced by error conditions from previous transaction.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH32340

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-03

  • Closed date

    2021-02-02

  • Last modified date

    2021-03-05

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

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

    UI73762

Modules/Macros

  • DSNLXSSR
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI73762

       UP21/02/23 P F102

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0"}]

Document Information

Modified date:
06 March 2021