A fix is available
APAR status
Closed as program error.
Error description
Admin Tool: GEN shows full table with all columns and ALTER TABLE DROP COLUMN statements for pending changes when parameter "Including Db2 pending changes" is set to Y Currently, when the GEN parameter 'including Db2 pending changes' is set to Y, GEN shows the full table with all columns and ALTER TABLE DROP COLUMN statements for DROP COLUMN pending changes at the end. With this APAR, when the GEN parameter 'including Db2 pending changes' is set to Y, GEN will show the fully realized table without the columns in DROP COLUMN pending changes.
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: When running the GEN function for a * * table with pending DROP COLUMN changes * * and the GEN parameter "Include Db2 * * pending chgs" set to Y, separate * * statements are generated to first * * create the full table and then apply * * the DROP COLUMN changes. However, the * * Y setting is to generate the final * * table without deleted columns and * * ALTER statements. * **************************************************************** Currently, when the GEN parameter 'Include DB2 pending chgs' is set to Y, the resulting SQL includes statements to create the full table with all columns and then ALTER TABLE DROP COLUMN statements for any DROP COLUMN pending changes. With this APAR, when 'Include DB2 pending chgs' is set to Y, the resulting DDL creates the final table without the columns in the DROP COLUMN pending changes. Separate ALTER statements to drop the columns are not needed.
Problem conclusion
This enhancement is delivered.
Temporary fix
Comments
APAR Information
APAR number
PH47060
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
2022-06-08
Closed date
2022-08-18
Last modified date
2022-09-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI82008 UI82018
Modules/Macros
ADB2REG
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":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 September 2022