A fix is available
APAR status
Closed as program error.
Error description
Db2 Admin Tool: During a Compare, DDL for alter add column and create index generated in wrong order For example: Comparing two tablespaces with these features: (1) the source TB has one more column than the target TB (2) the source TB has one more index than the target TB (3) the new IX includes the new column This fails when run with RC = 08 / SQLCODE = -205 because the "CREATE INDEX" with the new column is run before the "ALTER TABLE - ADD COLUMN"
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Object Comparison Tool for * * z/OS * **************************************************************** * PROBLEM DESCRIPTION: Error ADB7955E occurs when running * * an apply job that adds columns to a * * table the DDL_MATERIALIZATION zparm * * is set to P. * **************************************************************** Adding a column to a table and adding a new index that references that new column might result in an apply job that contains incorrectly ordered statements if DDL_MATERIALIZATION is set to P. Running the apply job might result in the following error: ADB7955E ADBTEP2 DSNT408I SQLCODE = -205, ERROR: >column< IS NOT A COLUMN OF TABLE >tb_schema<.>tb_name< ADB7955E ADBTEP2 DSNT418I SQLSTATE = 42703 SQLSTATE RETURN CODE ADB7955E ADBTEP2 DSNT415I SQLERRP = DSNXIIKY SQL PROCEDURE DETECTING ERROR ADB7955E ADBTEP2 DSNT416I SQLERRD = 30 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION ADB7955E ADBTEP2 DSNT416I SQLERRD = X'0000001E' X'00000000' X'00000000' X'FFFFFFFF' ADB7955E ADBTEP2 X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION
Problem conclusion
The problem has been resolved. Search keywords: MSGADB7955E
Temporary fix
Comments
APAR Information
APAR number
PH34162
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-02-04
Closed date
2021-05-13
Last modified date
2021-06-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI75381
Modules/Macros
ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI75381
UP21/06/02 P F105
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:
03 June 2021