A fix is available
APAR status
Closed as program error.
Error description
DB2 OBJECT COMPARE ADD PRIMARY KEY FAILED. TABLE OWNER.NAME ALREADY HAS A PRIMARY KEY
Local fix
APPLY PTF.
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Object Comparison Tool Ver 7.2 * * and DB2 Version 8 and higher. * **************************************************************** * PROBLEM DESCRIPTION: This APAR solves the following 2 * * problems. * * * * 1) Enable non-zero error return codes * * disabled by PK51390. * * * * 2) Add return code 8 in case the number * * of the partitions for the tablespace * * was reduced, but the tablespace * * was not part of the source and some * * partitions don't have the default * * attributes. The following message * * will be issued: * * * * Number of the partitions for the * * tablespace should be reduced, but * * the tablespace was not part of the * * source. * * * * Attempt to update the number of * * partitions was not done because * * some parts did not have default * * attributes so the result might * * be wrong. * * * * Please include the new tablespac * * definition in the source and rerun * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** This APAR solves the following 2 problems. 1) Enable non-zero error return codes disabled by PK51390. 2) Add return code 8 in case the number of partitions for the tablespace was reduced, but the tablespace was not part of the source and some partitions don't have default attributes. The following message will be issued: Number of partitions for the tablespace should be reduced, but the tablespace was not part of the source. Attempt to update the number of partitions was not done because some parts did not have default attributes so the result might be wrong. Please include the new tablespace definition in the source and rerun.
Problem conclusion
The problem was fixed.
Temporary fix
Comments
APAR Information
APAR number
PK74058
Reported component name
DB2 OBJECT COMP
Reported component ID
5697G6400
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-10-20
Closed date
2008-11-14
Last modified date
2008-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
GOC2CMP GOC2CMR
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK41565
UP08/11/21 P F811
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":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 February 2021