IBM Support

PI72166: CLOSE TRUNCATE FAILED WITH -904 SQLCODE AND RC00C200EA

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Close TRUNCATE failed with SQLCODE904 and 00C200EA
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 users.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: The TRUNCATE TABLE statement, executed  *
    *                      after prior SQL against the same table  *
    *                      in the same commit scope, may fail with *
    *                      SQLCODE -904, Resource Unavailable      *
    *                      reason code RC00C200EA.                 *
    *                                                              *
    *                      In a V11 data sharing environment, an   *
    *                      ABEND04E RC00C20223 may occur in        *
    *                      CSECT DSNB5ULK.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The TRUNCATE failure may occur if the statement is executed
    while another DB2 agent is holding a partition-level drain on
    the table space.  The TRUNCATE statement, which requests a
    space-level drain, fails immediately rather than waiting for
    the other agent's drain to be released.
    
    The V11 DSNB5ULK abend may occur during an unusual situation
    where a castout operation has been split across two I/Os, and
    pages were found to be locked for castout by another member.
    In this case, an unlock failure is supposed to be tolerated,
    but the "tolerate unlock failure" flag gets reset between
    the I/Os.
    

Problem conclusion

  • The space-level drain logic has been modified to avoid an
    unnecessary immediate failure when another agent holds a
    partition-level drain.
    
    The V11 castout logic has been modified to no longer reset the
    "tolerate unlock failure" flag between I/Os.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI72166

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-10

  • Closed date

    2016-12-12

  • Last modified date

    2017-01-03

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

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

    UI43275 UI43276

Modules/Macros

  • DSNB1DRA DSNB5PCO
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI43275

       UP16/12/28 P F612

  • RB10 PSY UI43276

       UP16/12/28 P F612

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:
03 January 2017