A fix is available
APAR status
Closed as program error.
Error description
The DB2 Object Comparison Tool for z/OS generated DDL in the wrong sequence when attempting to implement a RENAME of a column on a table with a CONSTRAINT defined. The ALTER TABLE xxx RENAME COLUMN aaa fails with a SQLCODE -750 as the DROP CONSTRAINT statement is out of sequence and occurs after the RENAME statement rather than before it.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison Tool for * * z/OS who rename table columns that have * * constraints on the columns being renamed. * **************************************************************** * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool renamed * * the table column before dropping the * * constraint. The change failed with a * * SQLCODEN750: * * * * DSNT408I SQLCODE = -750, ERROR: * * THE SOURCE TABLE table_name * * CANNOT BE RENAMED OR ALTERED * * BECAUSE IT IS REFERENCED IN EXISTING * * VIEW, MATERIALIZED QUERY TABLE, * * OR TRIGGER DEFINITIONS, IS A CLONE * * TABLE, OR HAS A CLONE TABLE DEFINED * * FOR * **************************************************************** * RECOMMENDATION: * **************************************************************** The DB2 Object Comparison Tool did not drop the constraint before renaming the table column.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM31726
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-02-01
Closed date
2011-05-20
Last modified date
2011-06-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK67981
Modules/Macros
ADBAC2D ADBGAJOB ADB2CID ADB2CMF ADB2CMP ADB2CMR ADB2CMS ADB2CMT ADB2ISQ ADB2WVL
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.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 June 2011