A fix is available
APAR status
Closed as program error.
Error description
In DB2 Administration Tool an ALC smart alter operation to append a new column defined as NOT NULL with a user defined default can fail with sqlcode104 ( -104 ). . The default value appears with an extra set of quote marks as shown in the following: SQL ALTER TABLE "C717086"."TBDAIRY" ADD "ADDED_COL" CHAR(1) NOT NULL WITH DEFAULT ''D''; . Execution produces error messages similar to the following: . DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "D". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: FOR NOT WITH UPDATE DEFAULT FIELDPROC GENERATED CONSTRAINT . Additional symptoms: extra quotes
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Administration Tool who * * use ALC may be affected. * **************************************************************** * PROBLEM DESCRIPTION: SQLCODE104 may occur due to a double- * * -quoted value during ALC processing * * when adding a new column to the end * * of the table, and specifying a default * * value for the column. * **************************************************************** * RECOMMENDATION: * **************************************************************** SQLCODE104 occurred on SMART ALTER ALC appending column with user defined default.
Problem conclusion
The product did not determine if the value was already quoted. The reported problem has now been corrected.
Temporary fix
Comments
APAR Information
APAR number
PK07219
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2005-06-13
Closed date
2005-07-14
Last modified date
2005-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB27DUP
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
R510 PSY UK05401
UP05/07/26 P F507
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":"5.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 August 2005