A fix is available
APAR status
Closed as program error.
Error description
Consider the following tables: CREATE TABLE TS5791.TB_W_UDT (COL1 TS5791.INTEGER_TYPE WITH DEFAULT INTEGER_TYPE(NULL)) PARTITION BY SIZE EVERY 4 G AUDIT NONE DATA CAPTURE NONE CCSID EBCDIC NOT VOLATILE APPEND NO LOGGED COMPRESS NO; CREATE NEWSCH.TABLE TB_W_UDT (COL1 NEWSCH.INTEGER_TYPE WITH DEFAULT INTEGER_TYPE(NULL)) PARTITION BY SIZE EVERY 4 G AUDIT NONE DATA CAPTURE NONE CCSID EBCDIC NOT VOLATILE APPEND NO LOGGED COMPRESS NO; With the following mask, compare should report no changes SCHEMA: TS5791,NEWSCH
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Object Comparison Tool for * * z/OS. * **************************************************************** * PROBLEM DESCRIPTION: Object Compare does not correctly * * compare masked user-defined type * * columns. * **************************************************************** When comparing tables that have columns with user-defined types (UDT), Object Compare does not correctly apply relevant schema and name masks to the UDT columns, which results in incorrect comparisons. For example, CREATE TABLE OSCH.TB_W_UDT (COL1 OSCH.INTEGER_TYPE etc. CREATE NEWSCH.TABLE TB_W_UDT (COL1 NEWSCH.INTEGER_TYPE With the following mask, compare should report no changes SCHEMA: OLDSCH,NEWSCH However, compare fails with the following: Compare table source(OSCH.TB_W_UDT) and target(NEWSCH.TB_W_UDT) Column COL1 Conversion not supported for Col COL1 (DISTINCT to DISTINCT) (D)Type changed from Distinct type NEWSCH.INTEGER_TYPE to Distinct type OSCH.INTEGER_TYPE (E)This type change is not supported Tables have identical column lists Table NEWSCH.TB_W_UDT will be dropped Table will be recreated Table data conversion jobstep will not be generated Conversion will fail because of datatype mismatch Run stopped because conversion(s) not supported
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH35847
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
2021-03-30
Closed date
2021-04-02
Last modified date
2021-05-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI74750
Modules/Macros
ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI74750
UP21/05/03 P F104
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:
04 May 2021