A fix is available
APAR status
Closed as program error.
Error description
DB2 Admin generates DROP TABLE when user deletes column from primary key and the index
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 ADMIN TOOL who delete * * column from primary key and the index * * may be affected. See Problem Description. * **************************************************************** * PROBLEM DESCRIPTION: DB2 Admin Tool generates DROP TABLE * * unnecessarily when user deletes column * * from primary key and the index. * * .* * * Alter Primary Key Function (4.2) is * * enhanced for SMART ALTER and for BATCH. * * .* * * PQ77493 fix is included. * * .* * * See Problem Conclusion. * **************************************************************** * RECOMMENDATION: * **************************************************************** Both PQ77545 and PQ77493 fixes are included.
Problem conclusion
PQ77545 The following items are addressed: * Unnecessary DROP TABLE * Handle Alter Table .... PRIMARY KEY * Columns in wrong sort order, no NULL value * Include IPREFIX when getting space * When creating an new index on ADB26CX, the table columns are presented in the improper order. * The column names are missing from the PRIMKEY() parm of the ALTER TABLE statement. * SQLCODE104 doing ALTER TABLE to add PRIMKEY - caused by > symbol in line: >OWN=DBA128,TB=RIAG_TB1,ACT=LA * duplicate ALTER TABLE statements PQ77493 The following items are addressed: * Alter Related & Smart-Alter Improvements * Sanity-check When Doing ALTER Delete Related Objects Along with Table * Double-quoted id on SET CURRENT SQLID CREATE VIEW ... ASSELECT ... * If Single-Table Smart-Alter, Ask on 27CTC If Want to Alter-Related Also. * Confirmation about Removing Table and That Related Objects Are Removed. * Add OPT3 for ALTER-Related * Push Setting of CONVDDL to ADB27A EXEC
Temporary fix
Comments
APAR Information
APAR number
PQ77545
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
420
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2003-08-15
Closed date
2003-09-15
Last modified date
2003-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UQ80158
Modules/Macros
ADB21SAC ADB21T ADB26CX ADB27A ADB27AC ADB27ALT ADB27C ADB27CA ADB27CR ADB27CTC ADB27DC ADB27DC0 ADB27DUP
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
R420 PSY UQ80158
UP03/09/17 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.
[{"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":"420"}]
Document Information
Modified date:
30 March 2021