A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS ALC command built DDL to drop the primary key when an index was renamed on panel ADB21XAR "Redefine Index".
Local fix
Remove the ALTER TABLE DROP PRIMARY KEY DDL from the generated job.
Problem summary
**************************************************************** * USERS AFFECTED: DB2 Administration Tool for z/OS attempting * * to alter an index on a primary key * **************************************************************** * PROBLEM DESCRIPTION: If a user alters an index on a primary * * key constraint, but does not alter the * * table associated with that index, the * * table loses its primary key constraint. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** Since an index on a primary key cannot be dropped if there is an existing primary key constraint, DB2 Admin first creates a drop of the primary key before dropping the index. The problem is that the table's primary key is now gone.
Problem conclusion
Re-create the table's primary key after (1) Dropping the primary key; (2) Dropping the index; (3) Re-creating the altered index.
Temporary fix
Comments
APAR Information
APAR number
PM07574
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-02-12
Closed date
2010-06-25
Last modified date
2010-07-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK58318
Modules/Macros
ADB27A
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
R720 PSY UK58318
UP10/06/30 P F006
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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 July 2010