A fix is available
APAR status
Closed as program error.
Error description
The admin tool will allow an alter on a row change timestamp column, however, DB2z does not allow this, giving SQLCODE -20180 error.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Db2 Object Comparison Tool for * * z/OS who alter a ROW CHANGE TIMESTAMP * * column. * **************************************************************** * PROBLEM DESCRIPTION: Compare generates ALTER TABLE ALTER * * COLUMN statements to change a * * ROW CHANGE TIMESTAMP column. Running * * these ALTER statements results in the * * following error: * * * * SQLCODE = -20180, ERROR: * * COLUMN MBR_UPDATE_TIMESTAMP IN TABLE * * TS6776.TB10466 CAN NOT BE ALTERED AS * * SPECIFIED * **************************************************************** Compare generates a WSL that contains ALTER TABLE ALTER COLUMN statements when trying to change a ROW CHANGE TIMESTAMP column. Running the generated WSL results in a SQLCODE -20180, because Db2 has a restriction that prevents alters to ROW CHANGE TIMESTAMP columns. DROP and CREATE must be used instead of ALTER.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH23165
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-03-12
Closed date
2020-06-11
Last modified date
2020-07-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI70018
Modules/Macros
ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI70018
UP20/07/06 P F006
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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 February 2021