IBM Support

PK62897: SQLCODE = -603, ERROR: A UNIQUE INDEX CANNOT BE CREATED BECAUSETHE TABLE CONTAINS ROWS WHICH ARE DUPLICATES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After applying latest maintenance and started OMEGDB2 with the
    PERFORMANCEWAREHOUSE=YES option get an SQLCODE = -603, ERROR in
    OMEGDB2.
    .
    DSNT408I SQLCODE = -603, ERROR:  A UNIQUE INDEX CANNOT BE
    CREATED BECAUSE THE TABLE CONTAINS ROWS WHICH ARE DUPLICATES
    WITH RESPECT TO THE VALUES OF THE IDENTIFIED COLUMNS
    SQLCODE603
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: OMEGAMON XE for DB2 PE/DB2PM                 *
    *                 users of component:                          *
    *                 -   PE Server                                *
    *                 -   Performance Warehouse users              *
    ****************************************************************
    * PROBLEM DESCRIPTION: If the PERFORMANCE WAREHOUSE function   *
    *                      is active, the database migration       *
    *                      during start-up may fail with           *
    *                      SQLCODE -603.                           *
    *                      The SYSPRINT output of the PE Server    *
    *                      shows an SQLCODE -603 in module         *
    *                      DSNXICX2 and the System Log shows       *
    *                      message FPEV5004S.                      *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply this PTF                               *
    ****************************************************************
    PROBLEM SUMMARY:
    During the migration process some PWH tables are altered.
    In the meanwhile when the unique indexes are dropped but still
    not recreated, the DB2 Performance Expert agents, if any,
    may keep inserting rows into the tables DB2PM.DB2C_SYSTEM
    and DB2PM.DB2C_APPLICATION, thus causing the
    "duplicate rows" problem.
    
    PROBLEM CONCLUSION:
    The tables DB2PM.DB2C_SYSTEM and DB2PM.DB2C_APPLICATION are
    locked while PWH processes the migration steps and are
    released for inserts by the DB2 Performance Expert Agent
    after PWH completes migration.
    

Problem conclusion

  • For V310:
    The service level of the
    OMEGAMON server subtask PESERVER
    FPEV0000I  DATA SERVER INITIALIZATION
    FPEV0114I  PTF BUILD IS 08.107
    
    For V410:
    The service level of the
    OMEGAMON server subtask PESERVER
    FPEV0000I  DATA SERVER INITIALIZATION
    FPEV0114I  PTF BUILD IS 08.107
    
    The tables DB2PM.DB2C_SYSTEM and DB2PM.DB2C_APPLICATION are
    locked while PWH processes the migration steps and are
    released for inserts by the DB2 Performance Expert Agent
    after PWH completes migration.
    
    KEYWORDS : PWH MIGRATION SQLCODE -603 UNIQUE INDEXES
    DUPLICATE ROWS
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK62897

  • Reported component name

    OM XE DB2PE/PM

  • Reported component ID

    5655OPE00

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-03-18

  • Closed date

    2008-04-16

  • Last modified date

    2017-02-04

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

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

    UK35622 UK35623

Modules/Macros

  •    DGO@TBL  DGOVMSTR DGOZTBL
    

Fix information

  • Fixed component name

    OM XE DB2PE/PM

  • Fixed component ID

    5655OPE00

Applicable component levels

  • R310 PSY UK35622

       UP08/04/18 P F804

  • R410 PSY UK35623

       UP08/04/18 P F804

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":"SSAV2B","label":"IBM Db2 Buffer Pool Analyzer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCT4H5","label":"IBM Tivoli OMEGAMON XE for Db2 PE \/ PM \/ BPA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 February 2017