A fix is available
APAR status
Closed as program error.
Error description
When Compare is used to increase the size of column and change CHECK CONSTRAINT on this column on subsystem with DDL_MATERIALIZATION ZPARM set to ALWAYS_PENDING, ADD CONSTRAINT will fail with SQLCODE -546.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * and Db2 Object Comparison Tool for z/OS * **************************************************************** * PROBLEM DESCRIPTION: An Object Compare apply job fails with * * SQLCODE -546 on ADD CHECK CONSTRAINT. * **************************************************************** When Object Compare is used to alter a column and change a check constraint on the same column on a Db2 subsystem with DDL_MATERIALIZATION ZPARM set to ALWAYS_PENDING, an ALTER COLUMN statement is generated after ADD CHECK CONSTRAINT. This behavior can cause an SQLCODE -546 if the new check constraint is not valid for the old column type.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH61784
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-06-10
Closed date
2024-09-03
Last modified date
2024-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI98267
Modules/Macros
ADB2CMT ADB2CMU
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RD10 PSY UI98267
UP24/10/03 P F409
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
03 October 2024