A fix is available
APAR status
Closed as program error.
Error description
Db2 Admin Tool: expected 2 ALTER COLUMN stmts, AOC generates 1 ALTER COLUMN and 1 ADD COLUMN stmt For example ALTER TABLE A.T1 RENAME COLUMN COL1 TO COL1_NEW; ALTER TABLE A.T1 RENAME COLUMN COL1_OLD TO COL1; Results in: (A)Column renamed from COL1 to COL1_NEW (D)Column COL1 added
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Object Comparison Tool for * * z/OS who import rename statements * * using Change Management. * **************************************************************** * PROBLEM DESCRIPTION: When a user specifies change statements * * for correctly renaming dependent * * columns, Db2 Admin Tool misinterprets * * the statements to be processed as a * * rename column and an add column * * instead of two renames. * **************************************************************** Db2 Admin Tool processes two ALTER TABLE RENAME COLUMN statements as ALTER TABLE RENAME COLUMN and one ALTER TABLE ADD COLUMN statement when the second rename matches an existing column at a earlier column position. Compare should correctly process the second ALTER TABLE RENAME COLUMN as a RENAME instead of an ADD column.
Problem conclusion
The issue has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH31010
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-10-29
Closed date
2021-02-18
Last modified date
2021-03-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI74049
Modules/Macros
ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI74049
UP21/03/05 P F102
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]
Document Information
Modified date:
06 March 2021