A fix is available
APAR status
Closed as program error.
Error description
DB2 Administration Tool for z/OS issues SQLCODEN650 (-650) and message ADB5185E " The run is ending due to errors. " when Altering a column with a View and the column is SET WITH DEFAULT. ( SQLCODEN625 SQLCODE = -650 SQLCODE -650 )
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison Tool for * * z/OS who alter the default value of a * * column in a table referenced by a VIEW. * **************************************************************** * PROBLEM DESCRIPTION: When altering the default value of a * * column in a table referenced by a * * VIEW, only the ALTER TABLE SET * * DEFAULT statement was generated * * in the CHANGE file. The APPLY job * * failed with a Return Code 8 / RC = 8 * * and a SQLCODE = -650 / * * SQLCODEN650 in the job log: * * * * DSNT408I SQLCODE = -650, ERROR: * * THE ALTER STATEMENT CANNOT * * BE EXECUTED, * * REASON 22 * * DSNT418I SQLSTATE = 56090 * * SQLSTATE RETURN CODE * * * * ADB5185E The run is ending due to * * errors. * **************************************************************** * RECOMMENDATION: * **************************************************************** If a table is referenced by a VIEW, the ALTER TABLE SET DEFAULT statement can not be executed to alter the default value of the column in the table. The referenced objects need to be dropped, followed by an ALTER statement, and the recreation of the referenced objects.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PI14464
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-03-25
Closed date
2014-07-03
Last modified date
2014-08-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2CMT
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":"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":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
04 August 2014