IBM Support

PH20094: DB2 OBJECT COMPARISON TOOL SAVE COMPARE RESULTS YES ADB7221W UNEXPECTED SQLCODE : -803 INSERT DATA INTO ADBCMPREPOBJLINES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an Object Compare job is run with Save Compare Results =
    'YES', and message ADB7221W / msgadb7221w (see below) appears in
    the Object Comparison Report, a SQLCODE = -803 / sqlcoden803
    error may result:
    
    Unexpected sqlcode :           -803 in Insert data into
    ADBCMPREPOBJLINES
    
    DSNT408I SQLCODE = -803, ERROR:  AN INSERTED OR UPDATED VALUE
        IS INVALID BECAUSE INDEX IN INDEX SPACE >indexspace<
        CONSTRAINS COLUMNS OF THE TABLE SO NO TWO ROWS CAN CONTAIN
        DUPLICATE VALUES IN THOSE COLUMNS.
        RID OF EXISTING ROW IS >rid<
    
    Message ADB722W / msgadb722W reads as follows:
    
    ADB7221W The default value for appended column >column name<
    could not be propagated from >temporal table name< to >history
    table name<.
    

Local fix

  • Set Save Compare Results = 'NO'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Object Comparison Tool          *
    *                 for z/OS who save their compare results.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Saving compare results for a temporal   *
    *                      table and its associated history table  *
    *                      might result in SQLCODE -803.           *
    ****************************************************************
    If you save compare results for a temporal table and its
    associated history table, and warning message ADB7221W
    ("The default value for appended column <column_name>
    could not be propagated from the temporal table to the history
    table") is written to the compare report, the compare fails with
    SQLCODE -803, because the internal counter is not
    incremented.
    

Problem conclusion

  • The problem is resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH20094

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-10

  • Closed date

    2020-03-16

  • Last modified date

    2020-04-02

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

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

    UI68420

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI68420

       UP20/04/02 P F003

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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 March 2020