A fix is available
APAR status
Closed as program error.
Error description
Db2 AOC: Compare Tool generates invalid WSL that fails with SQLCODE = -20385 DESCRIPTION: When processing a compare of TS/TB/IX, the Compare Tool generates a WSL with a missing REORG. This causes the CREATE IX statement to fail with a -20385 due to REORG pending status. Error Message: ADB7955E DSNT408I SQLCODE = -20385, ERROR: THE STATEMENT CANNOT BE PROCESSED BECAUSE THERE ARE PENDING DEFINITION CHANGES FOR 'object-name' OF TYPE TABLESPACE (REASON 17)
Local fix
na
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * and Db2 Object Comparison Tool for z/OS * **************************************************************** * PROBLEM DESCRIPTION: Object Compare incorrectly places a * * REORG utility statement, resulting in * * SQLCODE = -20385. * **************************************************************** Object Compare incorrectly places a REORG statement after a CREATE INDEX statement but before the table space pending changes have been resolved. This order results in a SQLCODE = -20385 when running the WSL.
Problem conclusion
The problem has been fixed. Object Compare will properly place the REORG statement before the CREATE INDEX statement.
Temporary fix
Comments
APAR Information
APAR number
PH54621
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
2023-05-18
Closed date
2023-08-10
Last modified date
2023-09-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI93145 UI93146
Modules/Macros
ADB2CMR
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":"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:
01 September 2023