A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS AL ADDCOL function created ALTER INDEX ADD COLUMN syntax which fails with a SQLCODE = -20181, ERROR: COLUMN CANNOT BE ADDED TO INDEX
Local fix
Use the AL/RDEF function to add the column to the index
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * for z/OS who use the 'ADDCOL' * * command on panel ADB21XA 'Alter * * Index'. * **************************************************************** * PROBLEM DESCRIPTION: The DB2 Administration Tool for * * z/OS AL/ADDCOL function created * * the 'ALTER INDEX ADD COLUMN' * * syntax, which fails with a * * SQLCODE = -20181 error: * * * * COLUMN CANNOT BE * * ADDED TO INDEX. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** When the index is a partitioning index and index-based partitioning is being used, adding a column to this type of index directly via a SQL statement will result in a SQLCODE=-20181/SQLCODEN20181 error.
Problem conclusion
Panel ADB21XA has been modified to hide the 'ADDCOL' command for an index on panel ADB21XA, which is a type 2 index, and has one or more than one partition.
Temporary fix
Comments
APAR Information
APAR number
PK97664
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-10-01
Closed date
2010-11-17
Last modified date
2011-02-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK62270
Modules/Macros
ADB21XA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
R720 PSY UK62270
UP10/11/23 P F011
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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
03 February 2011