A fix is available
APAR status
Closed as program error.
Error description
DB2 Administration Tool for z/OS CHANGE MANAGEMENT ANALYZE does not process properly renamed column of the unique index when WSL Validate option is specified and msgADB3012E issued: . ADB3012E Error processing Index schema.ixname in CREATE statement: The primary index or index enforcing unique constraint does not have a matching primary or unique key.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Administration Tool for z/OS * * who rename a column which is a column of a * * primary key or unique key, and there is a * * unique index defined for the primary key * * or the unique key. * **************************************************************** * PROBLEM DESCRIPTION: In DB2 Administration Tool for z/OS, * * when using the ALT function to rename * * a column which has a primary key or * * a unique key defined on it, and also * * has a unique index for the primary * * key or unique key, the wrong ALTER * * TABLE statement for updating the * * primary key or unique key was * * generated using the old column name * * before being renamed in the CHANGE * * file.Analyzing this change with * * the Validate option fails with * * RC=12 / return code 12 and a error * * message in the job log: * * * * ADB3012E * * Error processing Index >index-name< * * in CREATE statement: The primary * * index or index enforcing unique * * constraint does not have a matching * * primary or unique key. * **************************************************************** * RECOMMENDATION: * **************************************************************** In DB2 Administration Tool for z/OS, when using the ALT function to rename a column which has a primary key or a unique key defined on it, and also has a unique index for the primary key or unique key, the wrong ALTER TABLE statement for updating the primary key or unique key was generated using the old column name before being renamed in the CHANGE file. Analyzing this change with the Validate option fails with RC=12 / return code 12 and a error message in the job log: ADB3012E Error processing Index >index-name< in CREATE statement: The primary index or index enforcing unique constraint does not have a matching primary or unique key.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM93417
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-07-19
Closed date
2013-10-16
Last modified date
2013-11-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2CMR
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
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":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
04 November 2013