A fix is available
APAR status
Closed as program error.
Error description
Compare issues message ADB7139E SQLCODE -662 for a Tablespace which has a partitioned with Index control. ADB7139E The CREATE INDEX statement can lead to error SQLCODEN662/SQLCODE -662, because a partitioned index cannot be created on a table which is in a partition-by-range table space (SQLCODEN662 SQLCODE= -662 SQLCODE -662)
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
PM94749
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-08-08
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:
Modules/Macros
ADBCDTS ADB2CMF ADB2CMP ADB2CMR ADB2CMS ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
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"},"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:
04 October 2013