A fix is available
APAR status
Closed as program error.
Error description
DB2 Administration Tool for z/OS should issue an error message when processing a Change that contains drop primary unique index without related table definition present in the CHANGE
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool for * * z/OS who analyze a change which contains * * a DROP INDEX statement to drop a primary * * index or unique index and has a primary * * key constraint or unique key constraint * * defined on the table. * **************************************************************** * PROBLEM DESCRIPTION: When analyzing a change which contains * * a DROP INDEX statement to drop a * * primary or unique index, but the * * associated table that has a primary * * key constraint or unique key * * constraint defined on it and is * * within the change scope, the DROP * * INDEX statement fails with a * * SQLCODE=-669 at run time. * **************************************************************** * RECOMMENDATION: * **************************************************************** The DROP INDEX statement cannot drop a primary index or unique index if there is a primary key constraint or unique key constraint that is defined on the table. When applying changes in CM RUN, the DROP INDEX statement fails with a SQLCODEN669 / SQLCODE=-669: -669 THE OBJECT CANNOT BE EXPLICITLY DROPPED.
Problem conclusion
The problem has been resolved. A new message ADB7220E was added. ADB7220E The index <index_name> cannot be explicitly dropped as there is a primary key or unique key defined on it which is not in the current processing scope. Explanation The index cannot be dropped using the DROP INDEX statement as there is a primary key or unique key defined on it which would result in a SQLCODEN669 / SQLCODE=-669 error. System response Processing stops. User response Include the primary key or unique key in the processing scope.
Temporary fix
Comments
APAR Information
APAR number
PI39364
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-17
Closed date
2015-10-02
Last modified date
2015-11-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI31745 UI31746
Modules/Macros
ADB2CMR ADB7000
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":"11.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
03 November 2015