A fix is available
APAR status
Closed as program error.
Error description
Object Compare V10.2 generates msg ADB7139E comparing DDL with the Catalog.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison Tool for * * z/OS who define a partitioned table space * * and index in the source DDL using the * * NUMPARTS keyword, but do not specify the * * MAXPARTITIONS or SEGSIZE keywords in the * * table space DDL statement on DB2 10 New * * Function Mode (NFM) and above. * **************************************************************** * PROBLEM DESCRIPTION: In DB2 Object Comparison Tool for * * z/OS, if the source DDLincludes a * * partitioned table space definiton, * * and there is no MAXPARTITIONS or * * SEGSIZE keyword specified, only * * the NUMPARTS keyword in the CREATE * * TABLESPACE statement, Object Compare * * does not build the correct table * * space type. When the table space * * is dropped / recreated, an ADB7139E * * error message is displayed: * * * * ADB7139E The CREATE INDEX statement * * can lead to error SQLCODEN662 / * * SQLCODE=-662, because a partitioned * * index can not be created on a table * * which is in a partition-by-range * * table space. * **************************************************************** * RECOMMENDATION: * **************************************************************** In DB2 Object Comparison Tool for z/OS, if the source DDL includes a partitioned table space definiton, and there is no MAXPARTITIONS or SEGSIZE keyword specified, only the NUMPARTS keyword in the CREATE TABLESPACE statement, Object Compare does not build the correct table space type. When the table space is dropped / recreated, an ADB7139E error message is displayed: ADB7139E The CREATE INDEX statement can lead to error SQLCODEN662 / SQLCODE -662, because a partitioned index can not be created on a table which is in a partition-by-range table space.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM95808
Reported component name
DB2 OBJECT COMP
Reported component ID
5697G6400
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-08-26
Closed date
2013-09-26
Last modified date
2013-10-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK97930
Modules/Macros
GOC00 H25GA20J
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
RA20 PSY UK97930
UP13/09/28 P F309
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":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 February 2021