A fix is available
APAR status
Closed as program error.
Error description
Using DB2 Admin Tool to rename a column for a temporal table, the tool drops versioning and then tries to create the history table but never dropped it. The CREATE TABLE statment returns SQLCode -601 / SQLCODEN601 DSNT408I SQLCODE = -601, ERROR: THE NAME (VERSION OR VOLUME SERIAL NUMBER) OF THE OBJECT TO BE DEFINED OR THE TARGET OF A RENAME STATEMENT IS IDENTICAL TO THE EXISTING NAME (VERSION OR VOLUME SERIAL NUMBER) object-name OF THE OBJECT TYPE TABLE
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Administration Tool for * * z/OS who alter a temporal table to * * rename a column. * **************************************************************** * PROBLEM DESCRIPTION: When altering a temporal table to * * rename a column, the apply job * * fails with a SQLCODE=-601 / * * SQLCODEN601. * **************************************************************** * RECOMMENDATION: * **************************************************************** When altering a temporal table to rename a column, the apply job recreates the history table but does not drop the history table, causing the following SQLCODE=-601 / SQLCODEN601 error: DSNT408I SQLCODE = -601, ERROR: THE NAME (VERSION OR VOLUME SERIAL NUMBER) OF THE OBJECT TO BE DEFINED OR THE TARGET OF A RENAME STATEMENT IS IDENTICAL TO THE EXISTING NAME
Problem conclusion
The history table does not need to be dropped and recreated, as it uses the ALTER TABLE...RENAME COLUMN statement to rename the column name.
Temporary fix
Comments
APAR Information
APAR number
PI70826
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
B20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-10-18
Closed date
2017-04-27
Last modified date
2017-05-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2CMT
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.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 May 2017